Text Generation
Transformers
Safetensors
English
Chinese
qwen2
text-generation-inference
math
code
trl
sft
conversational
Eval Results (legacy)
Run this model with HF Jobs
Run prithivMLmods/Epimetheus-14B-Axo 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 and TRL to fine-tune https://huggingface.co/prithivMLmods/Epimetheus-14B-Axo. 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/prithivMLmods/Epimetheus-14B-Axo 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.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/prithivMLmods/Epimetheus-14B-Axo. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/prithivMLmods/Epimetheus-14B-Axo. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use prithivMLmods/Epimetheus-14B-Axo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Epimetheus-14B-Axo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="prithivMLmods/Epimetheus-14B-Axo") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("prithivMLmods/Epimetheus-14B-Axo") model = AutoModelForCausalLM.from_pretrained("prithivMLmods/Epimetheus-14B-Axo", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use prithivMLmods/Epimetheus-14B-Axo with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "prithivMLmods/Epimetheus-14B-Axo" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Epimetheus-14B-Axo", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/prithivMLmods/Epimetheus-14B-Axo
- SGLang
How to use prithivMLmods/Epimetheus-14B-Axo with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "prithivMLmods/Epimetheus-14B-Axo" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Epimetheus-14B-Axo", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "prithivMLmods/Epimetheus-14B-Axo" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "prithivMLmods/Epimetheus-14B-Axo", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use prithivMLmods/Epimetheus-14B-Axo with Docker Model Runner:
docker model run hf.co/prithivMLmods/Epimetheus-14B-Axo
Improve language tag
Browse filesHi! As the model is multilingual, this is a PR to add other languages than English to the language tag to improve the referencing. Note that 29 languages are announced in the README, but only 13 are explicitly listed. I was therefore only able to add these 13 languages.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218---license: apache-2.0language:- en- zhbase_model:- Qwen/Qwen2.5-14B-Instructpipeline_tag: text-generationlibrary_name: transformerstags:- text-generation-inference- math- code- trl- sftmodel-index:- name: Epimetheus-14B-Axoresults:- task:type: text-generationname: Text Generationdataset:name: IFEval (0-Shot)type: wis-k/instruction-following-evalsplit: trainargs:num_few_shot: 0metrics:- type: inst_level_strict_acc and prompt_level_strict_accvalue: 55.46name: averaged accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: BBH (3-Shot)type: SaylorTwift/bbhsplit: testargs:num_few_shot: 3metrics:- type: acc_normvalue: 51.46name: normalized accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MATH Lvl 5 (4-Shot)type: lighteval/MATH-Hardsplit: testargs:num_few_shot: 4metrics:- type: exact_matchvalue: 41.01name: exact matchsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: GPQA (0-shot)type: Idavidrein/gpqasplit: trainargs:num_few_shot: 0metrics:- type: acc_normvalue: 19.02name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MuSR (0-shot)type: TAUR-Lab/MuSRargs:num_few_shot: 0metrics:- type: acc_normvalue: 19.71name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MMLU-PRO (5-shot)type: TIGER-Lab/MMLU-Proconfig: mainsplit: testargs:num_few_shot: 5metrics:- type: accvalue: 47.82name: accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard---# **Epimetheus-14B-Axo**> Epimetheus-14B-Axo is based on the Qwen 2.5 14B modality architecture, designed to enhance the reasoning capabilities of 14B-parameter models. This model is optimized for general-purpose reasoning and answering, excelling in contextual understanding, logical deduction, and multi-step problem-solving. It has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets to improve comprehension, structured responses, and conversational intelligence.## **Key Improvements**1. **Enhanced General Knowledge**: The model provides broad knowledge across various domains, improving capabilities in answering questions accurately and generating coherent responses.2. **Improved Instruction Following**: Significant advancements in understanding and following complex instructions, generating structured responses, and maintaining coherence over extended interactions.3. **Versatile Adaptability**: More resilient to diverse prompts, enhancing its ability to handle a wide range of topics and conversation styles, including open-ended and structured inquiries.4. **Long-Context Support**: Supports up to 128K tokens for input context and can generate up to 8K tokens in a single output, making it ideal for detailed responses.5. **Multilingual Proficiency**: Supports over 29 languages, including English, Chinese, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.## **Quickstart with transformers**Here is a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and generate content:```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizermodel_name = "prithivMLmods/Epimetheus-14B-Axo"model = AutoModelForCausalLM.from_pretrained(model_name,torch_dtype="auto",device_map="auto")tokenizer = AutoTokenizer.from_pretrained(model_name)prompt = "What are the key principles of general-purpose AI?"messages = [{"role": "system", "content": "You are a helpful assistant capable of answering a wide range of questions."},{"role": "user", "content": prompt}]text = tokenizer.apply_chat_template(messages,tokenize=False,add_generation_prompt=True)model_inputs = tokenizer([text], return_tensors="pt").to(model.device)generated_ids = model.generate(**model_inputs,max_new_tokens=512)generated_ids = [output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)]response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]```## **Intended Use**1. **General-Purpose Reasoning**:Designed for broad applicability, assisting with logical reasoning, answering diverse questions, and solving general knowledge problems.2. **Educational and Informational Assistance**:Suitable for providing explanations, summaries, and research-based responses for students, educators, and general users.3. **Conversational AI and Chatbots**:Ideal for building intelligent conversational agents that require contextual understanding and dynamic response generation.4. **Multilingual Applications**:Supports global communication, translations, and multilingual content generation.5. **Structured Data Processing**:Capable of analyzing and generating structured outputs, such as tables and JSON, useful for data science and automation.6. **Long-Form Content Generation**:Can generate extended responses, including articles, reports, and guides, maintaining coherence over large text outputs.## **Limitations**1. **Hardware Requirements**:Requires high-memory GPUs or TPUs due to its large parameter size and long-context support.2. **Potential Bias in Responses**:While designed to be neutral, outputs may still reflect biases present in training data.3. **Inconsistent Outputs in Creative Tasks**:May produce variable results in storytelling and highly subjective topics.4. **Limited Real-World Awareness**:Does not have access to real-time events beyond its training cutoff.5. **Error Propagation in Extended Outputs**:Minor errors in early responses may affect overall coherence in long-form outputs.6. **Prompt Sensitivity**:The effectiveness of responses may depend on how well the input prompt is structured.# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/prithivMLmods__Epimetheus-14B-Axo-details)!Summarized results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q=prithivMLmods%2FEpimetheus-14B-Axo&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc)!| Metric |Value (%)||-------------------|--------:||**Average** | 39.08||IFEval (0-Shot) | 55.46||BBH (3-Shot) | 51.46||MATH Lvl 5 (4-Shot)| 41.01||GPQA (0-shot) | 19.02||MuSR (0-shot) | 19.71||MMLU-PRO (5-shot) | 47.82|123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229---license: apache-2.0language:- zho- eng- fra- spa- por- deu- ita- rus- jpn- kor- vie- tha- arabase_model:- Qwen/Qwen2.5-14B-Instructpipeline_tag: text-generationlibrary_name: transformerstags:- text-generation-inference- math- code- trl- sftmodel-index:- name: Epimetheus-14B-Axoresults:- task:type: text-generationname: Text Generationdataset:name: IFEval (0-Shot)type: wis-k/instruction-following-evalsplit: trainargs:num_few_shot: 0metrics:- type: inst_level_strict_acc and prompt_level_strict_accvalue: 55.46name: averaged accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: BBH (3-Shot)type: SaylorTwift/bbhsplit: testargs:num_few_shot: 3metrics:- type: acc_normvalue: 51.46name: normalized accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MATH Lvl 5 (4-Shot)type: lighteval/MATH-Hardsplit: testargs:num_few_shot: 4metrics:- type: exact_matchvalue: 41.01name: exact matchsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: GPQA (0-shot)type: Idavidrein/gpqasplit: trainargs:num_few_shot: 0metrics:- type: acc_normvalue: 19.02name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MuSR (0-shot)type: TAUR-Lab/MuSRargs:num_few_shot: 0metrics:- type: acc_normvalue: 19.71name: acc_normsource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard- task:type: text-generationname: Text Generationdataset:name: MMLU-PRO (5-shot)type: TIGER-Lab/MMLU-Proconfig: mainsplit: testargs:num_few_shot: 5metrics:- type: accvalue: 47.82name: accuracysource:url: https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard#/?search=prithivMLmods%2FEpimetheus-14B-Axoname: Open LLM Leaderboard---# **Epimetheus-14B-Axo**> Epimetheus-14B-Axo is based on the Qwen 2.5 14B modality architecture, designed to enhance the reasoning capabilities of 14B-parameter models. This model is optimized for general-purpose reasoning and answering, excelling in contextual understanding, logical deduction, and multi-step problem-solving. It has been fine-tuned using a long chain-of-thought reasoning model and specialized datasets to improve comprehension, structured responses, and conversational intelligence.## **Key Improvements**1. **Enhanced General Knowledge**: The model provides broad knowledge across various domains, improving capabilities in answering questions accurately and generating coherent responses.2. **Improved Instruction Following**: Significant advancements in understanding and following complex instructions, generating structured responses, and maintaining coherence over extended interactions.3. **Versatile Adaptability**: More resilient to diverse prompts, enhancing its ability to handle a wide range of topics and conversation styles, including open-ended and structured inquiries.4. **Long-Context Support**: Supports up to 128K tokens for input context and can generate up to 8K tokens in a single output, making it ideal for detailed responses.5. **Multilingual Proficiency**: Supports over 29 languages, including English, Chinese, French, Spanish, Portuguese, German, Italian, Russian, Japanese, Korean, Vietnamese, Thai, Arabic, and more.## **Quickstart with transformers**Here is a code snippet with `apply_chat_template` to show you how to load the tokenizer and model and generate content:```pythonfrom transformers import AutoModelForCausalLM, AutoTokenizermodel_name = "prithivMLmods/Epimetheus-14B-Axo"model = AutoModelForCausalLM.from_pretrained(model_name,torch_dtype="auto",device_map="auto")tokenizer = AutoTokenizer.from_pretrained(model_name)prompt = "What are the key principles of general-purpose AI?"messages = [{"role": "system", "content": "You are a helpful assistant capable of answering a wide range of questions."},{"role": "user", "content": prompt}]text = tokenizer.apply_chat_template(messages,tokenize=False,add_generation_prompt=True)model_inputs = tokenizer([text], return_tensors="pt").to(model.device)generated_ids = model.generate(**model_inputs,max_new_tokens=512)generated_ids = [output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)]response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]```## **Intended Use**1. **General-Purpose Reasoning**:Designed for broad applicability, assisting with logical reasoning, answering diverse questions, and solving general knowledge problems.2. **Educational and Informational Assistance**:Suitable for providing explanations, summaries, and research-based responses for students, educators, and general users.3. **Conversational AI and Chatbots**:Ideal for building intelligent conversational agents that require contextual understanding and dynamic response generation.4. **Multilingual Applications**:Supports global communication, translations, and multilingual content generation.5. **Structured Data Processing**:Capable of analyzing and generating structured outputs, such as tables and JSON, useful for data science and automation.6. **Long-Form Content Generation**:Can generate extended responses, including articles, reports, and guides, maintaining coherence over large text outputs.## **Limitations**1. **Hardware Requirements**:Requires high-memory GPUs or TPUs due to its large parameter size and long-context support.2. **Potential Bias in Responses**:While designed to be neutral, outputs may still reflect biases present in training data.3. **Inconsistent Outputs in Creative Tasks**:May produce variable results in storytelling and highly subjective topics.4. **Limited Real-World Awareness**:Does not have access to real-time events beyond its training cutoff.5. **Error Propagation in Extended Outputs**:Minor errors in early responses may affect overall coherence in long-form outputs.6. **Prompt Sensitivity**:The effectiveness of responses may depend on how well the input prompt is structured.# [Open LLM Leaderboard Evaluation Results](https://huggingface.co/spaces/open-llm-leaderboard/open_llm_leaderboard)Detailed results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/prithivMLmods__Epimetheus-14B-Axo-details)!Summarized results can be found [here](https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q=prithivMLmods%2FEpimetheus-14B-Axo&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc)!| Metric |Value (%)||-------------------|--------:||**Average** | 39.08||IFEval (0-Shot) | 55.46||BBH (3-Shot) | 51.46||MATH Lvl 5 (4-Shot)| 41.01||GPQA (0-shot) | 19.02||MuSR (0-shot) | 19.71||MMLU-PRO (5-shot) | 47.82|
README.md+229-218