Text Classification
Transformers
Safetensors
xlm-roberta
naics
industry-classification
github
bge-m3
text-embeddings-inference
Instructions to use aquiro1994/naics-github-classifier-multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aquiro1994/naics-github-classifier-multilingual with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="aquiro1994/naics-github-classifier-multilingual")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("aquiro1994/naics-github-classifier-multilingual") model = AutoModelForSequenceClassification.from_pretrained("aquiro1994/naics-github-classifier-multilingual", device_map="auto") - Notebooks
- Google Colab
- Kaggle
BGE-M3 fine-tuned for NAICS classification, multilingual counterpart of the RoBERTa model
d0b38c1 verified Download label_mappings.json from aquiro1994/naics-github-classifier-multilingual: direct link, hf CLI and curl.
- Browser
- Download file 610 Bytes
-
https://huggingface.co/aquiro1994/naics-github-classifier-multilingual/resolve/main/label_mappings.json
- Command line
-
hf download hf://aquiro1994/naics-github-classifier-multilingual/label_mappings.json
-
curl -L -o label_mappings.json https://huggingface.co/aquiro1994/naics-github-classifier-multilingual/resolve/main/label_mappings.json
610 Bytes
| { | |
| "label2id": { | |
| "11": 0, | |
| "21": 1, | |
| "22": 2, | |
| "23": 3, | |
| "31-33": 4, | |
| "42": 5, | |
| "44-45": 6, | |
| "48-49": 7, | |
| "51": 8, | |
| "52": 9, | |
| "53": 10, | |
| "54": 11, | |
| "56": 12, | |
| "61": 13, | |
| "62": 14, | |
| "71": 15, | |
| "72": 16, | |
| "81": 17, | |
| "92": 18 | |
| }, | |
| "id2label": { | |
| "0": "11", | |
| "1": "21", | |
| "2": "22", | |
| "3": "23", | |
| "4": "31-33", | |
| "5": "42", | |
| "6": "44-45", | |
| "7": "48-49", | |
| "8": "51", | |
| "9": "52", | |
| "10": "53", | |
| "11": "54", | |
| "12": "56", | |
| "13": "61", | |
| "14": "62", | |
| "15": "71", | |
| "16": "72", | |
| "17": "81", | |
| "18": "92" | |
| } | |
| } |