Run this model with HF Jobs
Run EndLessTime/fine_tuned_per_domain_balanced_moe 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/EndLessTime/fine_tuned_per_domain_balanced_moe. 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/EndLessTime/fine_tuned_per_domain_balanced_moe 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 EndLessTime/fine_tuned_per_domain_balanced_moe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EndLessTime/fine_tuned_per_domain_balanced_moe with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="EndLessTime/fine_tuned_per_domain_balanced_moe")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("EndLessTime/fine_tuned_per_domain_balanced_moe") model = AutoModelForSequenceClassification.from_pretrained("EndLessTime/fine_tuned_per_domain_balanced_moe", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Arihant Tripathi commited on
qwen_new_mage_per_domain_balanced_moe
Browse filesFiles changed (17)
- .gitattributes+1
- README.mdAdded+64
- added_tokens.jsonAdded+5
- config.jsonAdded+40
- merges.txtAdded
- model-00001-of-00006.safetensorsAdded+3
- model-00002-of-00006.safetensorsAdded+3
- model-00003-of-00006.safetensorsAdded+3
- model-00004-of-00006.safetensorsAdded+3
- model-00005-of-00006.safetensorsAdded+3
- model-00006-of-00006.safetensorsAdded+3
- model.safetensors.index.jsonAdded
- special_tokens_map.jsonAdded+20
- tokenizer.jsonAdded+3
- tokenizer_config.jsonAdded+44
- training_args.binAdded+3
- vocab.jsonAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -texttokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364---library_name: transformerslicense: otherbase_model: Qwen/Qwen1.5-MoE-A2.7Btags:- generated_from_trainermetrics:- accuracymodel-index:- name: fine_tuned_per_domain_balanced_moe results: []---
<!-- This model card has been generated automatically according to the information the Trainer had access to. Youshould probably proofread and complete it, then remove this comment. -->
# fine_tuned_per_domain_balanced_moe
This model is a fine-tuned version of [Qwen/Qwen1.5-MoE-A2.7B](https://huggingface.co/Qwen/Qwen1.5-MoE-A2.7B) on the None dataset.It achieves the following results on the evaluation set:- Loss: nan- Accuracy: 0.5343
## Model description
More information needed
## Intended uses & limitations
More information needed
## Training and evaluation data
More information needed
## Training procedure
### Training hyperparameters
The following hyperparameters were used during training:- learning_rate: 2e-05- train_batch_size: 1- eval_batch_size: 1- seed: 42- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments- lr_scheduler_type: linear- num_epochs: 3
### Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy ||:-------------:|:------:|:----:|:---------------:|:--------:|| 0.2979 | 0.0006 | 100 | nan | 0.5343 || 0.0 | 0.0013 | 200 | nan | 0.5343 || 0.0 | 0.0019 | 300 | nan | 0.5343 || 0.0 | 0.0025 | 400 | nan | 0.5343 |
### Framework versions
- Transformers 4.49.0- Pytorch 2.6.0+cu126- Datasets 3.3.2- Tokenizers 0.21.012345{ "<|endoftext|>": 151643, "<|im_end|>": 151645, "<|im_start|>": 151644}12345678910111213141516171819202122232425262728293031323334353637383940{ "_name_or_path": "Qwen/Qwen1.5-MoE-A2.7B", "architectures": [ "Qwen2MoeForSequenceClassification" ], "attention_dropout": 0.0, "bos_token_id": 151643, "decoder_sparse_step": 1, "eos_token_id": 151643, "hidden_act": "silu", "hidden_size": 2048, "initializer_range": 0.02, "intermediate_size": 5632, "max_position_embeddings": 8192, "max_window_layers": 21, "mlp_only_layers": [], "model_type": "qwen2_moe", "moe_intermediate_size": 1408, "norm_topk_prob": false, "num_attention_heads": 16, "num_experts": 60, "num_experts_per_tok": 4, "num_hidden_layers": 24, "num_key_value_heads": 16, "output_router_logits": false, "pad_token_id": 151643, "problem_type": "single_label_classification", "rms_norm_eps": 1e-06, "rope_scaling": null, "rope_theta": 1000000.0, "router_aux_loss_coef": 0.001, "shared_expert_intermediate_size": 5632, "sliding_window": null, "tie_word_embeddings": false, "torch_dtype": "float16", "transformers_version": "4.49.0", "use_cache": true, "use_sliding_window": false, "vocab_size": 151936}123version https://git-lfs.github.com/spec/v1oid sha256:ccf613a4a6e1037cf5bf9cd737528061fe4d8872fb8eab2cdaebc9ad51e011c6size 4996576984123version https://git-lfs.github.com/spec/v1oid sha256:59479a683f4695f852e527d9a4edd452040cc41de54060b4fa58091e4b032984size 4996346912123version https://git-lfs.github.com/spec/v1oid sha256:dc5d86228e525f1489198ba5966e4924b8e1cfe0abed33596f6380c1b040df3asize 4997126272123version https://git-lfs.github.com/spec/v1oid sha256:77e21c1fe67b000c831d5f0a28c87ed90b1a3c63c3a5ce2212d0b1172e2bc7fbsize 4985591672123version https://git-lfs.github.com/spec/v1oid sha256:fd242fd676bd50e4c9542445df09cb22eb7aff86e1ebfaf6f27fe6103b63ffa0size 4996348128123version https://git-lfs.github.com/spec/v1oid sha256:e8bbdba5aeefd05ba939372b4725bf07a0d7a4b4e73d0fc90cfd8c82be794fe5size 30378289681234567891011121314151617181920{ "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "eos_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123version https://git-lfs.github.com/spec/v1oid sha256:f5ae291beb14c5986404b36fdaabbcf3cb858121c6239ffbec6c1405cbafd9dcsize 114185441234567891011121314151617181920212223242526272829303132333435363738394041424344{ "add_prefix_space": false, "added_tokens_decoder": { "151643": { "content": "<|endoftext|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151644": { "content": "<|im_start|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true }, "151645": { "content": "<|im_end|>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false, "special": true } }, "additional_special_tokens": [ "<|im_start|>", "<|im_end|>" ], "bos_token": null, "chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}", "clean_up_tokenization_spaces": false, "eos_token": "<|endoftext|>", "errors": "replace", "extra_special_tokens": {}, "model_max_length": 32768, "pad_token": "<|endoftext|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:31e0522b4be0f3ac640fd52d93fb63a740aef00682a46443329ff55c399c2509size 5304.gitattributes+1
README.mdAdded+64
added_tokens.jsonAdded+5
config.jsonAdded+40
merges.txtAdded
model-00001-of-00006.safetensorsAdded+3
model-00002-of-00006.safetensorsAdded+3
model-00003-of-00006.safetensorsAdded+3
model-00004-of-00006.safetensorsAdded+3
model-00005-of-00006.safetensorsAdded+3
model-00006-of-00006.safetensorsAdded+3
model.safetensors.index.jsonAdded
special_tokens_map.jsonAdded+20
tokenizer.jsonAdded+3
tokenizer_config.jsonAdded+44
training_args.binAdded+3
vocab.jsonAdded