Run this model with HF Jobs
Run txus/calbert-tiny-uncased 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/txus/calbert-tiny-uncased. 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/txus/calbert-tiny-uncased 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 txus/calbert-tiny-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use txus/calbert-tiny-uncased with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("txus/calbert-tiny-uncased", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from txus/calbert-tiny-uncased: direct link, hf CLI and curl.
- Browser
- Download file 1.45 kB
-
https://huggingface.co/txus/calbert-tiny-uncased/resolve/main/config.json
- Command line
-
hf download hf://txus/calbert-tiny-uncased/config.json
-
curl -L -o config.json https://huggingface.co/txus/calbert-tiny-uncased/resolve/main/config.json
1.45 kB
| { | |
| "_num_labels": 2, | |
| "architectures": null, | |
| "attention_probs_dropout_prob": 0.0, | |
| "bad_words_ids": null, | |
| "bos_token_id": 2, | |
| "classifier_dropout_prob": 0.1, | |
| "decoder_start_token_id": null, | |
| "do_sample": false, | |
| "down_scale_factor": 1, | |
| "early_stopping": false, | |
| "embedding_size": 128, | |
| "eos_token_id": 3, | |
| "finetuning_task": null, | |
| "gap_size": 0, | |
| "hidden_act": "gelu", | |
| "hidden_dropout_prob": 0.0, | |
| "hidden_size": 312, | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "initializer_range": 0.02, | |
| "inner_group_num": 1, | |
| "intermediate_size": 1248, | |
| "is_decoder": false, | |
| "is_encoder_decoder": false, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "layer_norm_eps": 1e-12, | |
| "length_penalty": 1.0, | |
| "ln_type": "postln", | |
| "max_length": 20, | |
| "max_position_embeddings": 512, | |
| "min_length": 0, | |
| "model_type": "albert", | |
| "name": "tiny", | |
| "net_structure_type": 0, | |
| "no_repeat_ngram_size": 0, | |
| "num_attention_heads": 12, | |
| "num_beams": 1, | |
| "num_hidden_groups": 1, | |
| "num_hidden_layers": 4, | |
| "num_memory_blocks": 0, | |
| "num_return_sequences": 1, | |
| "output_attentions": false, | |
| "output_hidden_states": false, | |
| "output_past": true, | |
| "pad_token_id": 0, | |
| "prefix": null, | |
| "pruned_heads": {}, | |
| "repetition_penalty": 1.0, | |
| "task_specific_params": null, | |
| "temperature": 1.0, | |
| "top_k": 50, | |
| "top_p": 1.0, | |
| "torchscript": false, | |
| "type_vocab_size": 2, | |
| "use_bfloat16": false, | |
| "vocab_size": 30000 | |
| } | |