Instructions to use Splend1dchan/canine-s-squad with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Splend1dchan/canine-s-squad 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="Splend1dchan/canine-s-squad")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Splend1dchan/canine-s-squad") model = AutoModelForQuestionAnswering.from_pretrained("Splend1dchan/canine-s-squad", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
30aa61a
1
Parent(s): 1bcda1f
Upload nbest_predictions_.json with git-lfs
Browse files- .gitattributes +1 -0
- nbest_predictions_.json +3 -0
.gitattributes
CHANGED
|
@@ -26,3 +26,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 26 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 28 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 26 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 27 |
*.zstandard filter=lfs diff=lfs merge=lfs -text
|
| 28 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
nbest_predictions_.json filter=lfs diff=lfs merge=lfs -text
|
nbest_predictions_.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d7605e924c7c6444109ef1a54124fc4e09766cc14674391a4eeb867f5c70b11
|
| 3 |
+
size 53470372
|