Token Classification
Transformers
TensorBoard
Safetensors
bert
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run galaxy78/ChatGPT_Project on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/galaxy78/ChatGPT_Project. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/galaxy78/ChatGPT_Project on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use galaxy78/ChatGPT_Project with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use galaxy78/ChatGPT_Project with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="galaxy78/ChatGPT_Project")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("galaxy78/ChatGPT_Project") model = AutoModelForTokenClassification.from_pretrained("galaxy78/ChatGPT_Project", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from galaxy78/ChatGPT_Project: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/galaxy78/ChatGPT_Project/resolve/main/config.json
- Command line
-
hf download hf://galaxy78/ChatGPT_Project/config.json
-
curl -L -o config.json https://huggingface.co/galaxy78/ChatGPT_Project/resolve/main/config.json
1.42 kB
| { | |
| "_name_or_path": "bert-base-cased", | |
| "adapters": { | |
| "adapters": { | |
| "ner": "seq_bn" | |
| }, | |
| "config_map": {}, | |
| "fusion_config_map": {}, | |
| "fusions": {} | |
| }, | |
| "architectures": [ | |
| "BertForTokenClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0.1, | |
| "classifier_dropout": null, | |
| "gradient_checkpointing": false, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.1, | |
| "hidden_size": 768, | |
| "id2label": { | |
| "0": "O", | |
| "1": "B-corporation", | |
| "2": "I-corporation", | |
| "3": "B-creative-work", | |
| "4": "I-creative-work", | |
| "5": "B-group", | |
| "6": "I-group", | |
| "7": "B-location", | |
| "8": "I-location", | |
| "9": "B-person", | |
| "10": "I-person", | |
| "11": "B-product", | |
| "12": "I-product" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "B-corporation": 1, | |
| "B-creative-work": 3, | |
| "B-group": 5, | |
| "B-location": 7, | |
| "B-person": 9, | |
| "B-product": 11, | |
| "I-corporation": 2, | |
| "I-creative-work": 4, | |
| "I-group": 6, | |
| "I-location": 8, | |
| "I-person": 10, | |
| "I-product": 12, | |
| "O": 0 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "max_position_embeddings": 512, | |
| "model_type": "bert", | |
| "num_attention_heads": 12, | |
| "num_hidden_layers": 12, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.35.2", | |
| "type_vocab_size": 2, | |
| "use_cache": true, | |
| "vocab_size": 28996 | |
| } | |