| File Name | Size | Description | Upload Status |
|---|---|---|---|
.gitattributes | 1.57 kB | Git attributes for managing LFS files. | Uploaded |
README.md | 195 Bytes | Model overview or documentation. | Updated |
added_tokens.json | 657 Bytes | Custom tokens for the tokenizer. | Uploaded |
config.json | 859 Bytes | Model configuration file. | Uploaded |
generation_config.json | 280 Bytes | Configuration for text generation. | Uploaded |
merges.txt | 1.82 MB | Merge rules for byte-pair encoding (BPE). | Uploaded |
pytorch_model.bin | 988 MB | Model weights (PyTorch format). | Uploaded (LFS) |
special_tokens_map.json | 644 Bytes | Mapping for special tokens. | Uploaded |
tokenizer.json | 11.4 MB | Full tokenizer configuration. | Uploaded (LFS) |
tokenizer_config.json | 7.73 kB | Additional tokenizer settings. | Uploaded |
vocab.json | 2.78 MB | Vocabulary for the tokenizer. | Uploaded |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "prithivMLmods/Acrux-500M-o1-Journey"
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForCausalLM.from_pretrained(model_name)1input_text = "Explain the concept of machine learning in simple terms."
2inputs = tokenizer(input_text, return_tensors="pt")
3outputs = model.generate(**inputs, max_length=100, temperature=0.7)
4print(tokenizer.decode(outputs[0], skip_special_tokens=True))generation_config.json for better control of output, such as:temperature for randomness.top_p for sampling diversity.max_length for output size.