Run this model with HF Jobs
Run LogicCrafters/v39 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/LogicCrafters/v39. 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/LogicCrafters/v39 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 LogicCrafters/v39 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LogicCrafters/v39 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="LogicCrafters/v39")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("LogicCrafters/v39") model = AutoModelForTokenClassification.from_pretrained("LogicCrafters/v39", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from LogicCrafters/v39: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/LogicCrafters/v39/resolve/main/config.json
- Command line
-
hf download hf://LogicCrafters/v39/config.json
-
curl -L -o config.json https://huggingface.co/LogicCrafters/v39/resolve/main/config.json
1.1 kB
| { | |
| "_name_or_path": "models/albert/albert-xxlarge-v2", | |
| "architectures": [ | |
| "AlbertForTokenClassification" | |
| ], | |
| "attention_probs_dropout_prob": 0, | |
| "bos_token_id": 2, | |
| "classifier_dropout_prob": 0.1, | |
| "down_scale_factor": 1, | |
| "embedding_size": 128, | |
| "eos_token_id": 3, | |
| "finetuning_task": "ner", | |
| "gap_size": 0, | |
| "hidden_act": "gelu_new", | |
| "hidden_dropout_prob": 0, | |
| "hidden_size": 4096, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1", | |
| "2": "LABEL_2", | |
| "3": "LABEL_3" | |
| }, | |
| "initializer_range": 0.02, | |
| "inner_group_num": 1, | |
| "intermediate_size": 16384, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1, | |
| "LABEL_2": 2, | |
| "LABEL_3": 3 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "layers_to_keep": [], | |
| "max_position_embeddings": 512, | |
| "model_type": "albert", | |
| "net_structure_type": 0, | |
| "num_attention_heads": 64, | |
| "num_hidden_groups": 1, | |
| "num_hidden_layers": 12, | |
| "num_memory_blocks": 0, | |
| "pad_token_id": 0, | |
| "position_embedding_type": "absolute", | |
| "torch_dtype": "float32", | |
| "transformers_version": "4.34.1", | |
| "type_vocab_size": 2, | |
| "vocab_size": 30000 | |
| } | |