Instructions to use GeraniumCat/bash-seq-to-seq with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GeraniumCat/bash-seq-to-seq 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="GeraniumCat/bash-seq-to-seq")# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("GeraniumCat/bash-seq-to-seq") model = AutoModelForSeq2SeqLM.from_pretrained("GeraniumCat/bash-seq-to-seq") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
# Model Card for Model ID
|
|
|
|
| 1 |
---
|
| 2 |
library_name: transformers
|
| 3 |
+
datasets:
|
| 4 |
+
- aelhalili/bash-commands-dataset
|
| 5 |
+
- darkknight25/Linux_Terminal_Commands_Dataset
|
| 6 |
+
metrics:
|
| 7 |
+
- bleu
|
| 8 |
+
pipeline_tag: translation
|
| 9 |
---
|
| 10 |
|
| 11 |
# Model Card for Model ID
|