Text Classification
Transformers
Safetensors
English
roberta
code
algorithms
competitive-programming
multi-label-classification
codebert
text-embeddings-inference
Instructions to use Ahmedjr/codebert-algorithm-tagger with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ahmedjr/codebert-algorithm-tagger with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Ahmedjr/codebert-algorithm-tagger")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Ahmedjr/codebert-algorithm-tagger") model = AutoModelForSequenceClassification.from_pretrained("Ahmedjr/codebert-algorithm-tagger") - Notebooks
- Google Colab
- Kaggle
Upload requirements.txt with huggingface_hub
Browse files- requirements.txt +2 -0
requirements.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
transformers>=4.30.0
|
| 2 |
+
torch>=2.0.0
|