Token Classification
Transformers
Safetensors
English
mistral
text-generation
custom_code
text-generation-inference
Instructions to use LeroyDyer/Mixtral_AI_TokenClassification_Project with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LeroyDyer/Mixtral_AI_TokenClassification_Project with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="LeroyDyer/Mixtral_AI_TokenClassification_Project", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("LeroyDyer/Mixtral_AI_TokenClassification_Project", trust_remote_code=True) model = AutoModelForCausalLM.from_pretrained("LeroyDyer/Mixtral_AI_TokenClassification_Project", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from LeroyDyer/Mixtral_AI_TokenClassification_Project: direct link, hf CLI and curl.
- Browser
- Download file 1.91 kB
-
https://huggingface.co/LeroyDyer/Mixtral_AI_TokenClassification_Project/resolve/main/config.json
- Command line
-
hf download hf://LeroyDyer/Mixtral_AI_TokenClassification_Project/config.json
-
curl -L -o config.json https://huggingface.co/LeroyDyer/Mixtral_AI_TokenClassification_Project/resolve/main/config.json
1.91 kB
| { | |
| "_name_or_path": "LeroyDyer/Mixtral_AI_PsycoTron", | |
| "architectures": [ | |
| "MistralForTokenClassification" | |
| ], | |
| "attention_dropout": 0.0, | |
| "architectures": [ | |
| "MistralForCausalLM","MistralForTokenClassification","MistralForCausalThoughtsLM","MistralForQuestionAnswering","MistralForTranslation" | |
| ], | |
| "auto_map": { | |
| "AutoConfig":"LeroyDyer/Mixtral_AI_PsycoTron--configuration_mistral.MistralConfig", | |
| "AutoModel": "LeroyDyer/Mixtral_AI_PsycoTron--modeling_mistral.MistralModel", | |
| "AutoModelForCausalLM": "LeroyDyer/Mixtral_AI_PsycoTron--modeling_mistral.MistralForCausalLM", | |
| "AutoModelForTokenClassification": "LeroyDyer/Mixtral_AI_PsycoTron--modeling_mistral.MistralForTokenClassification", | |
| "AutoModelForQuestionAnswering": "LeroyDyer/Mixtral_AI_PsycoTron--modeling_mistral.MistralForQuestionAnswering", | |
| "MistralForCausalThoughtsLM": "LeroyDyer/Mixtral_AI_PsycoTron--modeling_mistral.MistralForCausalThoughtsLM", | |
| "MistralThoughtsConfig":"LeroyDyer/Mixtral_AI_PsycoTron--configuration_mistral.MistralThoughtsConfig", | |
| "AutoModelForTranslation": "LeroyDyer/Mixtral_AI_PsycoTron--modeling_mistral.MistralForTranslation" | |
| }, | |
| "bos_token_id": 1, | |
| "eos_token_id": 2, | |
| "hidden_act": "silu", | |
| "hidden_dropout_prob": 0.02, | |
| "hidden_size": 4096, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 14336, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2 | |
| }, | |
| "max_position_embeddings": 32768, | |
| "model_type": "mistral", | |
| "num_attention_heads": 32, | |
| "num_hidden_layers": 32, | |
| "num_key_value_heads": 8, | |
| "pad_token_id": 2, | |
| "rms_norm_eps": 1e-05, | |
| "rope_theta": 10000.0, | |
| "sliding_window": 4096, | |
| "tie_word_embeddings": false, | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.38.2", | |
| "unsloth_version": "2024.4", | |
| "use_cache": true, | |
| "vocab_size": 32000 | |
| } | |