Instructions to use Yanis23/sparql-translation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Yanis23/sparql-translation with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "translation" 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("translation", model="Yanis23/sparql-translation")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("Yanis23/sparql-translation") model = AutoModelForSeq2SeqLM.from_pretrained("Yanis23/sparql-translation") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 3
Browse files
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 557971229
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b99a4451b003982dcae3009c91737bccd89fd84d52be6192788d9afacbb49489
|
| 3 |
size 557971229
|
runs/Apr24_17-40-10_092c8c273ab7/events.out.tfevents.1682363083.092c8c273ab7.1518.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:c1e4811b0b5dc08471b5396db97d0d0f36e2cd14509fe49abd625cc3bf67fb36
|
| 3 |
+
size 5226
|