Instructions to use krinal214/zero_shot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use krinal214/zero_shot 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="krinal214/zero_shot")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("krinal214/zero_shot") model = AutoModelForQuestionAnswering.from_pretrained("krinal214/zero_shot", device_map="auto") - Notebooks
- Google Colab
- Kaggle
End of training
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 709140913
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:05f0abcdc1fa5a5dfefcb966ff8d2b79c6e1f73a6be17f7f073a8ff12021a2c7
|
| 3 |
size 709140913
|
runs/Mar16_11-37-00_6e036c0084cc/events.out.tfevents.1647430633.6e036c0084cc.34.0
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:63e84fcd33a5981c151483b503378303d66f0537d0b939aac9f07aa594b2cc3e
|
| 3 |
+
size 5897
|