Update README.md
Browse files
README.md
CHANGED
|
@@ -10,6 +10,7 @@ tags:
|
|
| 10 |
- microstructure
|
| 11 |
- electron_micrograph
|
| 12 |
- characterization
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# UniEM-Gen
|
|
@@ -60,7 +61,16 @@ You can randomly sample one term from each of the nine attribute categories defi
|
|
| 60 |
💬 Replace each <...> placeholder with a real value from the corresponding category.
|
| 61 |
```
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
|
| 64 |
## 🖼️ Example Outputs
|
| 65 |
|
| 66 |
-

|
|
|
|
| 10 |
- microstructure
|
| 11 |
- electron_micrograph
|
| 12 |
- characterization
|
| 13 |
+
- scientific_figure_understanding
|
| 14 |
---
|
| 15 |
|
| 16 |
# UniEM-Gen
|
|
|
|
| 61 |
💬 Replace each <...> placeholder with a real value from the corresponding category.
|
| 62 |
```
|
| 63 |
|
| 64 |
+
```python
|
| 65 |
+
# Sampled attributes from UniEM-3M
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
# Construct the prompt
|
| 69 |
+
prompt = f"{microscopy_type} of {subject}: {morphology}. {surface_texture}. {particle_density}. {distribution}. {layering}. {pixel_size_profile}. {color_profile}."
|
| 70 |
+
print(prompt)
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
|
| 74 |
## 🖼️ Example Outputs
|
| 75 |
|
| 76 |
+

|