Commit
Β·
ebda00c
1
Parent(s):
7b81f6d
update description
Browse files
app.py
CHANGED
@@ -279,20 +279,30 @@ description_text = """
|
|
279 |
|
280 |
Welcome to the Librarian Bot Metadata Request Service. With a few clicks, enrich your Hugging Face models with key metadata!
|
281 |
|
|
|
|
|
282 |
π― **Purpose of this App**
|
283 |
- Request metadata updates for your models on the Hugging Face Hub, specifically to add or update the `base_model` field in the `YAML` section of your model's `README.md`.
|
284 |
- Optionally, request metadata for models belonging to another user or organization. If doing so, the bot will randomly pick 5 models for metadata addition.
|
285 |
|
|
|
|
|
|
|
|
|
286 |
π€ **How Does Librarian Bot Determine Metadata?**
|
287 |
-
- It scans
|
|
|
|
|
288 |
|
289 |
π **Benefits of Metadata Enhancement**
|
290 |
- **Boosts Discoverability**: Easier tracing of relationships between Hugging Face Hub models.
|
291 |
- **Highlights Impact**: Demonstrates the influence and contribution of different models.
|
292 |
|
293 |
-
|
|
|
|
|
294 |
|
295 |
-
|
296 |
|
297 |
"""
|
298 |
|
@@ -313,7 +323,9 @@ with gr.Blocks() as demo:
|
|
313 |
|
314 |
1. **Login to Hugging Face**: Use the login button below to sign in. If you don't have an account, [create one here](https://huggingface.co/join).
|
315 |
2. **Specify Target User/Organization**: Enter a username or organization name if you wish the Librarian Bot to search metadata for someone other than yourself. Leaving this blank will prompt the bot to look for metadata for your own models and make PRs when a match is found.
|
316 |
-
3. **Initiate Metadata Enhancement**: Click the "Open Pull Requests" button. The bot will then search for `base_model` metadata and create Pull Requests for models lacking this information.
|
|
|
|
|
317 |
)
|
318 |
with gr.Row():
|
319 |
gr.LoginButton()
|
|
|
279 |
|
280 |
Welcome to the Librarian Bot Metadata Request Service. With a few clicks, enrich your Hugging Face models with key metadata!
|
281 |
|
282 |
+
<br>
|
283 |
+
|
284 |
π― **Purpose of this App**
|
285 |
- Request metadata updates for your models on the Hugging Face Hub, specifically to add or update the `base_model` field in the `YAML` section of your model's `README.md`.
|
286 |
- Optionally, request metadata for models belonging to another user or organization. If doing so, the bot will randomly pick 5 models for metadata addition.
|
287 |
|
288 |
+
**Note**: The is currently in beta. If you encounter any issues, please [add to this discussion](https://huggingface.co/spaces/librarian-bots/metadata_request_service/discussions/1)
|
289 |
+
|
290 |
+
<br>
|
291 |
+
|
292 |
π€ **How Does Librarian Bot Determine Metadata?**
|
293 |
+
- It scans the `README.md` of the model to check to try to determine if your model has been fine-tuned from another model. This original model is identified as the `base_model`.
|
294 |
+
|
295 |
+
<br>
|
296 |
|
297 |
π **Benefits of Metadata Enhancement**
|
298 |
- **Boosts Discoverability**: Easier tracing of relationships between Hugging Face Hub models.
|
299 |
- **Highlights Impact**: Demonstrates the influence and contribution of different models.
|
300 |
|
301 |
+
<br>
|
302 |
+
|
303 |
+
π‘ **See an Example of base_model Metadata in Action**
|
304 |
|
305 |
+
For a hands-on example of how such metadata can play a pivotal role in mapping model connections, take a look at [librarian-bots/base_model_explorer](https://huggingface.co/spaces/librarian-bots/base_model_explorer).
|
306 |
|
307 |
"""
|
308 |
|
|
|
323 |
|
324 |
1. **Login to Hugging Face**: Use the login button below to sign in. If you don't have an account, [create one here](https://huggingface.co/join).
|
325 |
2. **Specify Target User/Organization**: Enter a username or organization name if you wish the Librarian Bot to search metadata for someone other than yourself. Leaving this blank will prompt the bot to look for metadata for your own models and make PRs when a match is found.
|
326 |
+
3. **Initiate Metadata Enhancement**: Click the "Open Pull Requests" button. The bot will then search for `base_model` metadata and create Pull Requests for models lacking this information.
|
327 |
+
|
328 |
+
**Note**: If you specify a target user/organization, the bot will randomly select 5 models to request metadata for. If you do not specify a target user/organization, the bot will try and find `base_model` metadata for all your models."""
|
329 |
)
|
330 |
with gr.Row():
|
331 |
gr.LoginButton()
|