Text Generation
Transformers
Safetensors
English
qwen2
conversational
reasoning
evaryx
text-generation-inference
Instructions to use EvaryxTechnologies/Evaryx-Core with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EvaryxTechnologies/Evaryx-Core with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EvaryxTechnologies/Evaryx-Core") 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("EvaryxTechnologies/Evaryx-Core") model = AutoModelForCausalLM.from_pretrained("EvaryxTechnologies/Evaryx-Core", 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 EvaryxTechnologies/Evaryx-Core with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EvaryxTechnologies/Evaryx-Core" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EvaryxTechnologies/Evaryx-Core", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EvaryxTechnologies/Evaryx-Core
- SGLang
How to use EvaryxTechnologies/Evaryx-Core 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 "EvaryxTechnologies/Evaryx-Core" \ --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": "EvaryxTechnologies/Evaryx-Core", "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 "EvaryxTechnologies/Evaryx-Core" \ --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": "EvaryxTechnologies/Evaryx-Core", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use EvaryxTechnologies/Evaryx-Core with Docker Model Runner:
docker model run hf.co/EvaryxTechnologies/Evaryx-Core
|
Download README.md from EvaryxTechnologies/Evaryx-Core: direct link, hf CLI and curl.
- Browser
- Download file 3.24 kB
-
https://huggingface.co/EvaryxTechnologies/Evaryx-Core/resolve/main/README.md
- Command line
-
hf download hf://EvaryxTechnologies/Evaryx-Core/README.md
-
curl -L -o README.md https://huggingface.co/EvaryxTechnologies/Evaryx-Core/resolve/main/README.md
3.24 kB
| language: | |
| - en | |
| library_name: transformers | |
| tags: | |
| - conversational | |
| - reasoning | |
| - text-generation | |
| - qwen2 | |
| - evaryx | |
| # Evaryx-Core (8B) | |
| **Evaryx-Core** is an 8-billion-parameter conversational and reasoning language model developed and fine-tuned by **EVARYX TECHNOLOGIES**. Built on the Qwen2 architecture, it is trained to deliver natural, human-like responses alongside structured, deep-thinking problem-solving. | |
| ## Key Capabilities | |
| - **Natural Communication:** Responds in a clear, fluid, and engaging tone without sounding robotic. | |
| - **Deep Thinking:** Breaks down complex questions, logic puzzles, and multi-step problems thoughtfully. | |
| - **General Problem Solving:** Assists with coding, brainstorming, explanations, and everyday decision-making. | |
| ## Model Details | |
| - **Developed by:** EVARYX TECHNOLOGIES | |
| - **Model Type:** Causal Language Model (Fine-tuned) | |
| - **Architecture:** Qwen2 (8B Parameters) | |
| - **Precision:** F16 (Safetensors) | |
| ## Quickstart (Python) | |
| ### Option 1: Standard Loading (16GB+ VRAM) | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer | |
| model_id = "EvaryxTechnologies/Evaryx-Core" | |
| tokenizer = AutoTokenizer.from_pretrained(model_id) | |
| model = AutoModelForCausalLM.from_pretrained( | |
| model_id, | |
| torch_dtype="auto", | |
| device_map="auto" | |
| ) | |
| messages = [ | |
| {"role": "user", "content": "Help me think through a complex problem step by step."} | |
| ] | |
| 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) | |
| print(response[0]) | |
| ``` | |
| ### Option 2: Low-Memory 4-Bit Loading (8GB VRAM) | |
| *Requires `bitsandbytes` (`pip install -U bitsandbytes accelerate transformers`).* | |
| ```python | |
| from transformers import AutoModelForCausalLM, AutoTokenizer, BitsAndBytesConfig | |
| model_id = "EvaryxTechnologies/Evaryx-Core" | |
| bnb_config = BitsAndBytesConfig( | |
| load_in_4bit=True, | |
| bnb_4bit_compute_dtype="float16" | |
| ) | |
| tokenizer = AutoTokenizer.from_pretrained(model_id) | |
| model = AutoModelForCausalLM.from_pretrained( | |
| model_id, | |
| quantization_config=bnb_config, | |
| device_map="auto" | |
| ) | |
| messages = [ | |
| {"role": "user", "content": "Help me think through a complex problem step by step."} | |
| ] | |
| 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) | |
| print(response[0]) | |
| ``` | |
| ## Intended Use & Limitations | |
| Evaryx-Core is built for research, assistant applications, and general problem-solving. As with all language models, outputs should be verified for critical factual, medical, legal, or financial decisions. | |