Run this model with HF Jobs
Run fkrasnov2/COLD2 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/fkrasnov2/COLD2. 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/fkrasnov2/COLD2 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 fkrasnov2/COLD2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fkrasnov2/COLD2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="fkrasnov2/COLD2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("fkrasnov2/COLD2") model = AutoModelForMaskedLM.from_pretrained("fkrasnov2/COLD2", device_map="auto") - Transformers.js
How to use fkrasnov2/COLD2 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('fill-mask', 'fkrasnov2/COLD2'); - Notebooks
- Google Colab
- Kaggle
Fedor Krasnov commited on
Commit ·
abc2e36
1
Parent(s): f9a6157
fist ver
Browse filesFiles changed (6)
- config.jsonAdded+33
- generation_config.jsonAdded+7
- model.safetensorsAdded+3
- special_tokens_map.jsonAdded+8
- tokenizer.jsonAdded
- tokenizer_config.jsonAdded+53
123456789101112131415161718192021222324252627282930313233{ "architectures": [ "MambaForCausalLM" ], "bos_token_id": 2, "conv_kernel": 4, "eos_token_id": 3, "expand": 1, "hidden_act": "silu", "hidden_size": 256, "initializer_range": 0.1, "intermediate_size": 128, "layer_norm_epsilon": 1e-05, "model_type": "mamba", "num_hidden_layers": 6, "pad_token_id": 0, "rescale_prenorm_residual": false, "residual_in_fp32": true, "state_size": 16, "time_step_floor": 0.0001, "time_step_init_scheme": "random", "time_step_max": 0.1, "time_step_min": 0.001, "time_step_rank": 16, "time_step_scale": 1.0, "torch_dtype": "float32", "transformers_version": "4.45.2", "use_bias": false, "use_cache": true, "use_conv_bias": true, "use_mambapy": true, "vocab_size": 32000}1234567{ "_from_model_config": true, "bos_token_id": 2, "eos_token_id": 3, "pad_token_id": 0, "transformers_version": "4.45.2"}123version https://git-lfs.github.com/spec/v1oid sha256:699fc6f0e73f31cb3a8cedf97733cfa67a7254cc82d9fdc42ab6865352b36390size 3540821612345678{ "bos_token": "[CLS]", "eos_token": "[SEP]", "mask_token": "[MASK]", "pad_token": "[PAD]", "sep_token": "[SEP]", "unk_token": "[UNK]"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ "added_tokens_decoder": { "0": { "content": "[PAD]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "1": { "content": "[UNK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "2": { "content": "[CLS]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "3": { "content": "[SEP]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "4": { "content": "[MASK]", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "bos_token": "[CLS]", "clean_up_tokenization_spaces": false, "eos_token": "[SEP]", "mask_token": "[MASK]", "model_max_length": 1000000000000000019884624838656, "pad_token": "[PAD]", "sep_token": "[SEP]", "tokenizer_class": "PreTrainedTokenizerFast", "unk_token": "[UNK]"}config.jsonAdded+33
generation_config.jsonAdded+7
model.safetensorsAdded+3
special_tokens_map.jsonAdded+8
tokenizer.jsonAdded
tokenizer_config.jsonAdded+53