Librarian Bot: Add base_model information to model
Browse filesThis pull request aims to enrich the metadata of your model by adding [`distilbert-base-uncased`](https://huggingface.co/distilbert-base-uncased) as a `base_model` field, situated in the `YAML` block of your model's `README.md`.
How did we find this information? We performed a regular expression match on your `README.md` file to determine the connection.
**Why add this?** Enhancing your model's metadata in this way:
- **Boosts Discoverability** - It becomes straightforward to trace the relationships between various models on the Hugging Face Hub.
- **Highlights Impact** - It showcases the contributions and influences different models have within the community.
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).
This PR comes courtesy of [Librarian Bot](https://huggingface.co/librarian-bot). If you have any feedback, queries, or need assistance, please don't hesitate to reach out to [@davanstrien](https://huggingface.co/davanstrien).
If you want to automatically add `base_model` metadata to more of your modes you can use the [Librarian Bot](https://huggingface.co/librarian-bot) [Metadata Request Service](https://huggingface.co/spaces/librarian-bots/metadata_request_service)!
|
@@ -1,28 +1,29 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language: en
|
|
|
|
| 4 |
tags:
|
| 5 |
- generated_from_keras_callback
|
| 6 |
-
model-index:
|
| 7 |
-
- name: pull_request_comments_model
|
| 8 |
-
results: []
|
| 9 |
widget:
|
| 10 |
-
- text:
|
| 11 |
-
Please add a detailed comment explaining what this config parameter means.
|
| 12 |
example_title: Code example
|
| 13 |
-
- text:
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
Then I set the train_steps to 2000, only the is_chief role can restore the model
|
|
|
|
| 18 |
example_title: ML example
|
| 19 |
-
- text:
|
| 20 |
-
|
| 21 |
example_title: Management example
|
| 22 |
-
- text:
|
| 23 |
-
|
| 24 |
example_title: Other example
|
| 25 |
pipeline_tag: text-classification
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
# pull_request_comments_model
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language: en
|
| 3 |
+
license: apache-2.0
|
| 4 |
tags:
|
| 5 |
- generated_from_keras_callback
|
|
|
|
|
|
|
|
|
|
| 6 |
widget:
|
| 7 |
+
- text: Please add a detailed comment explaining what this config parameter means.
|
|
|
|
| 8 |
example_title: Code example
|
| 9 |
+
- text: Because if non-chief workers don’t restore the model from the checkpoint,
|
| 10 |
+
training can‘t continue. For example, I am using tf.estimator.Estimator API and
|
| 11 |
+
tf.distribute.CollectiveAllReduceStrategy for distributed training. Firstly, I
|
| 12 |
+
train for 1000 rounds(train_stpes=1000) and save the checkpoint, it works normally.
|
| 13 |
+
Then I set the train_steps to 2000, only the is_chief role can restore the model
|
| 14 |
+
from the checkpoint without any error.
|
| 15 |
example_title: ML example
|
| 16 |
+
- text: Hi, Could you please review this PR when you have some time? Thank you very
|
| 17 |
+
much!
|
| 18 |
example_title: Management example
|
| 19 |
+
- text: Sorry, i was on holiday all the month and i didn’t have so much time to review
|
| 20 |
+
this PR. I also had a lot of problems with my computer, so i couldn’t work...
|
| 21 |
example_title: Other example
|
| 22 |
pipeline_tag: text-classification
|
| 23 |
+
base_model: distilbert-base-uncased
|
| 24 |
+
model-index:
|
| 25 |
+
- name: pull_request_comments_model
|
| 26 |
+
results: []
|
| 27 |
---
|
| 28 |
|
| 29 |
# pull_request_comments_model
|