Instructions to use cgt/pert-qa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use cgt/pert-qa with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="cgt/pert-qa")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("cgt/pert-qa") model = AutoModelForQuestionAnswering.from_pretrained("cgt/pert-qa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Librarian Bot: Add base_model information to model
This pull request aims to enrich the metadata of your model by adding [`hfl/chinese-pert-large`](https://huggingface.co/hfl/chinese-pert-large) 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, queri…152c738
-
update model card README.md
afd4120 -
train completed.
fd7bfb5 -
Training in progress, step 1500
98f3a9a -
Training in progress, step 1000
63f5aba -
Training in progress, step 500
9fed666 -
update model card README.md
dae5af4 -
train completed.
b1185c1 -
Training in progress, step 2000
d8d957e -
Training in progress, step 1500
a8a24c2 -
Training in progress, step 1000
0bdf185 -
Training in progress, step 500
a4ffc85 -
update model card README.md
f9f3cf1 -
train completed.
b79a247 -
Training in progress, step 3000
9c2d474 -
Training in progress, step 2500
21b52b6 -
Training in progress, step 2000
2d998fe -
Training in progress, step 500
7b28f52
-
update model card README.md
b5ed77d -
train completed.
588df3b -
Training in progress, step 3500
62bfd4b -
Training in progress, step 3000
3bc655d -
Training in progress, step 2500
8ed2566 -
Training in progress, step 2000
8331bfa -
Training in progress, step 1500
77f40c4 -
Training in progress, step 1000
e9e6fa6 -
Training in progress, step 500
bc3dcfc
-
update model card README.md
c6c7a1c -
Training in progress, step 6000
1add129 -
Training in progress, step 5500
7d8a888 -
Training in progress, step 5000
06673f1 -
Training in progress, step 4500
aa2723a -
Training in progress, step 4000
367a55a -
Training in progress, step 3500
d032541 -
Training in progress, step 3000
d4a6daf -
Training in progress, step 2500
ba7eea8 -
Training in progress, step 2000
4b8e224 -
Training in progress, step 1500
c10918f -
Training in progress, step 1000
0de9736 -
Training in progress, step 500
b5af052 -
Training in progress, step 3500
6dd278f -
Training in progress, step 3000
1369f8d -
Training in progress, step 2500
4b4977f -
Training in progress, step 2000
c0d82ec -
Training in progress, step 1500
9ac51bb -
Training in progress, step 1000
f91a167 -
Training in progress, step 500
c456787
-
update model card README.md
f0317d6 -
Training in progress, step 12000
f347a22 -
Training in progress, step 11500
2a10dc2