File size: 2,880 Bytes
b081ebd
 
 
 
 
 
 
 
2eabcb6
 
 
 
b081ebd
 
cefb1bb
42f86dd
cefb1bb
 
df74f22
b081ebd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2eabcb6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20fa8a3
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
tags:
- text-generation-inference
- text-generation
- peft
library_name: transformers
base_model: meta-llama/Llama-3.1-8B-Instruct
widget:
- messages:
  - role: user
    content: What is your favorite condiment?
license: mit
---

# What this is?
This is the first trained model of Colox during the process, this will be trained further more for the final result. This model has been fine tuned off of LLaMA 3.1 to reduce training.

# DISCLAIMER
This model has not been tested yet as of July 1st, 2025 at 3:39PM EDT, this is experimental and this model will be updated overtime.


# Usage

```python

from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "PATH_TO_THIS_REPO"

tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(
    model_path,
    device_map="auto",
    torch_dtype='auto'
).eval()

# Prompt content: "hi"
messages = [
    {"role": "user", "content": "hi"}
]

input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
output_ids = model.generate(input_ids.to('cuda'))
response = tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=True)

# Model response: "Hello! How can I assist you today?"
print(response)
```



MIT License

Copyright (c) 2025 Max AI

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



EDIT: 2/13/2026:

This is a bit older, I have tested the model and discovered that the system prompt must include this to start thinking: Your response must follow this JSON format. Think step by step.<schema>{'$schema': 'http://json-schema.org/draft-04/schema#', 'type': 'object', 'properties': {'process': {'type': 'string', 'description': 'Detailed problem-solving steps and reasoning'}, 'final_answer': {'type': 'string', 'description': 'Complete response to the query'}}, 'required': ['process', 'final_answer']}