DBMe
/

Text Generation
Transformers
Safetensors
mistral
chat
conversational
text-generation-inference
Inference Endpoints
exl2
DBMe commited on
Commit
5054590
1 Parent(s): c1378d0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +9 -33
README.md CHANGED
@@ -23,44 +23,20 @@ datasets:
23
  library_name: transformers
24
  ---
25
 
 
26
 
 
 
27
 
28
- ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6491e00e057b0928b3e07b75/hkPzhL-xYPeGGKCyAf3Qd.png)
29
- This is the sixth in a series of models designed to replicate the prose quality of the Claude 3 models, specifically Sonnet and Opus. This model is fine-tuned on top of [Mistral-Large-Instruct-2407](https://huggingface.co/mistralai/Mistral-Large-Instruct-2407).
30
 
31
- ## Prompting
32
- Model has been Instruct tuned with the Mistral formatting. A typical input would look like this:
33
 
34
- ```py
35
- <s>[INST] SYSTEM MESSAGE\nUSER MESSAGE[/INST] ASSISTANT MESSAGE</s>[INST] USER MESSAGE[/INST]
36
- ```
37
 
38
- We also provide SillyTavern presets for [Context](https://huggingface.co/anthracite-org/Magnum-123b-v1/resolve/main/Magnum-Mistral-Context.json) and [Instruct](https://huggingface.co/anthracite-org/Magnum-123b-v1/raw/main/Magnum-Mistral-Instruct.json) respectively.
39
 
40
- The Mistral preset included in SillyTavern seems to be misconfigured by default, so we recommend using these as a replacement.
41
-
42
- ## Credits
43
- - [anthracite-org/Stheno-Data-Filtered](https://huggingface.co/datasets/anthracite-org/Stheno-Data-Filtered)
44
- - [anthracite-org/kalo-opus-instruct-22k-no-refusal](https://huggingface.co/datasets/anthracite-org/kalo-opus-instruct-22k-no-refusal)
45
- - [anthracite-org/nopm_claude_writing_fixed](https://huggingface.co/datasets/anthracite-org/nopm_claude_writing_fixed)
46
-
47
- This model has been a team effort, and the credits goes to all members of Anthracite.
48
-
49
- ## Training
50
- The training was done for 1.5 epochs. We used 8x [AMD Instinct™ MI300X Accelerators](https://www.amd.com/en/products/accelerators/instinct/mi300/mi300x.html) for the full-parameter fine-tuning of the model.
51
-
52
- In addition to this, we noticed that Mistral Large models seemed much more sensitive to learning rate adjustments than other models:
53
-
54
- ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6491e00e057b0928b3e07b75/xCK3ISKF6pWcMyO7MEzTA.png)
55
-
56
- We hypothesize this is primarily due to the particularly narrow and low variance weight distributions typical of Mistral derived models regardless of their scale.
57
-
58
- In the end, due to the costs that would be involved in training another full 2 epochs run ($600) on an even lower rate, we settled on our third attempt: 2e-6 with an effective batch size of 64. We chose to publish the 1.5 epoch run after manually testing and comparing it.
59
-
60
- ![image/png](https://cdn-uploads.huggingface.co/production/uploads/6491e00e057b0928b3e07b75/d9_cBy-DuWrdnoVBbAvRV.png)
61
- Also, we notice a correlation between the significance of the 2nd epoch loss drop and the strength of the learning rate, implying 4e-6 leads to more catastrophic forgetting.
62
 
63
- [<img src="https://raw.githubusercontent.com/OpenAccess-AI-Collective/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/OpenAccess-AI-Collective/axolotl)
 
64
 
65
- ## Safety
66
- ...
 
23
  library_name: transformers
24
  ---
25
 
26
+ Quantized model => https://huggingface.co/anthracite-org/magnum-v2-123b
27
 
28
+ **Quantization Details:**
29
+ Quantization is done using turboderp's ExLlamaV2 v0.2.2.
30
 
31
+ I use the default calibration datasets and arguments. The repo also includes a "measurement.json" file, which was used during the quantization process.
 
32
 
33
+ For models with bits per weight (BPW) over 6.0, I default to quantizing the `lm_head` layer at 8 bits instead of the standard 6 bits.
 
34
 
 
 
 
35
 
 
36
 
37
+ ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
+ **Who are you? What's with these weird BPWs on [insert model here]?**
40
+ I specialize in optimized EXL2 quantization for models in the 70B to 100B+ range, specifically tailored for 48GB VRAM setups. My rig is built using 2 x 3090s with a Ryzen APU (APU used solely for desktop output—no VRAM wasted on the 3090s). I use TabbyAPI for inference, targeting context sizes between 32K and 64K.
41
 
42
+ Every model I upload includes a `config.yml` file with my ideal TabbyAPI settings. If you're using my config, don’t forget to set `PYTORCH_CUDA_ALLOC_CONF=backend:cudaMallocAsync` to save some VRAM.