Text Generation
Transformers
Safetensors
mixtral
emotional-ai
ICONN
chatbot
base
conversational
text-generation-inference
Instructions to use ICONNAI/ICONN-e1-Beta with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ICONNAI/ICONN-e1-Beta with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="ICONNAI/ICONN-e1-Beta") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ICONNAI/ICONN-e1-Beta") model = AutoModelForCausalLM.from_pretrained("ICONNAI/ICONN-e1-Beta", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use ICONNAI/ICONN-e1-Beta with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "ICONNAI/ICONN-e1-Beta" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "ICONNAI/ICONN-e1-Beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/ICONNAI/ICONN-e1-Beta
- SGLang
How to use ICONNAI/ICONN-e1-Beta 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 "ICONNAI/ICONN-e1-Beta" \ --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": "ICONNAI/ICONN-e1-Beta", "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 "ICONNAI/ICONN-e1-Beta" \ --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": "ICONNAI/ICONN-e1-Beta", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use ICONNAI/ICONN-e1-Beta with Docker Model Runner:
docker model run hf.co/ICONNAI/ICONN-e1-Beta
Add mergekit_moe_config.yml
Browse files- mergekit_moe_config.yml +104 -0
mergekit_moe_config.yml
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
output_model: ./ICONN-1
|
| 2 |
+
dtype: bfloat16
|
| 3 |
+
moe_type: task
|
| 4 |
+
tokenizer_source: models/arcee-blitz
|
| 5 |
+
|
| 6 |
+
base_model:
|
| 7 |
+
model: models/arcee-blitz
|
| 8 |
+
source_model: arcee-ai/Arcee-Blitz # base model source repo
|
| 9 |
+
|
| 10 |
+
experts:
|
| 11 |
+
- name: CodeCONN
|
| 12 |
+
model: models/devstral
|
| 13 |
+
source_model: mistralai/Devstral-Small-2505
|
| 14 |
+
positive_prompts:
|
| 15 |
+
- "python"
|
| 16 |
+
- "java"
|
| 17 |
+
- "c++"
|
| 18 |
+
- "programming"
|
| 19 |
+
- "//"
|
| 20 |
+
- "code"
|
| 21 |
+
- "syntax"
|
| 22 |
+
- "pandas"
|
| 23 |
+
- "sql"
|
| 24 |
+
- "import"
|
| 25 |
+
- "data_cleaning"
|
| 26 |
+
- "script"
|
| 27 |
+
- "bug"
|
| 28 |
+
- "fix"
|
| 29 |
+
- "loop"
|
| 30 |
+
- "json"
|
| 31 |
+
- "csv"
|
| 32 |
+
- "binary"
|
| 33 |
+
- "compiler"
|
| 34 |
+
- "function"
|
| 35 |
+
- "class"
|
| 36 |
+
|
| 37 |
+
- name: ChatCONN
|
| 38 |
+
model: models/dolphin3
|
| 39 |
+
source_model: cognitivecomputations/Dolphin3.0-Mistral-24B
|
| 40 |
+
positive_prompts:
|
| 41 |
+
- "hi"
|
| 42 |
+
- "hello"
|
| 43 |
+
- "how are you"
|
| 44 |
+
- "what's up"
|
| 45 |
+
- "can you help"
|
| 46 |
+
- "tell me a joke"
|
| 47 |
+
- "write me"
|
| 48 |
+
- "explain"
|
| 49 |
+
- "talk to me"
|
| 50 |
+
- "describe"
|
| 51 |
+
- "friendly"
|
| 52 |
+
- "respond"
|
| 53 |
+
- "short answer"
|
| 54 |
+
- "summarize"
|
| 55 |
+
- "conversation"
|
| 56 |
+
- "chat"
|
| 57 |
+
- "help me"
|
| 58 |
+
|
| 59 |
+
- name: ReasonCONN
|
| 60 |
+
model: models/dolphin3-r1
|
| 61 |
+
source_model: cognitivecomputations/Dolphin3.0-R1-Mistral-24B
|
| 62 |
+
positive_prompts:
|
| 63 |
+
- "think"
|
| 64 |
+
- "logic"
|
| 65 |
+
- "reason"
|
| 66 |
+
- "math"
|
| 67 |
+
- "why"
|
| 68 |
+
- "how"
|
| 69 |
+
- "deduce"
|
| 70 |
+
- "explain in detail"
|
| 71 |
+
- "analyze"
|
| 72 |
+
- "IQ"
|
| 73 |
+
- "SAT"
|
| 74 |
+
- "GRE"
|
| 75 |
+
- "proof"
|
| 76 |
+
- "science"
|
| 77 |
+
- "physics"
|
| 78 |
+
- "biology"
|
| 79 |
+
- "deepen"
|
| 80 |
+
- "calculus"
|
| 81 |
+
- "infer"
|
| 82 |
+
|
| 83 |
+
- name: GeoCONN
|
| 84 |
+
model: models/deephermes
|
| 85 |
+
source_model: NousResearch/DeepHermes-3-Mistral-24B-Preview
|
| 86 |
+
positive_prompts:
|
| 87 |
+
- "geography"
|
| 88 |
+
- "continent"
|
| 89 |
+
- "country"
|
| 90 |
+
- "capital"
|
| 91 |
+
- "map"
|
| 92 |
+
- "longitude"
|
| 93 |
+
- "latitude"
|
| 94 |
+
- "earth"
|
| 95 |
+
- "region"
|
| 96 |
+
- "nation"
|
| 97 |
+
- "location"
|
| 98 |
+
- "mountain"
|
| 99 |
+
- "river"
|
| 100 |
+
- "climate"
|
| 101 |
+
- "ocean"
|
| 102 |
+
- "desert"
|
| 103 |
+
- "geological"
|
| 104 |
+
- "atlas"
|