alexgusevski commited on
Commit
3e2eb89
·
verified ·
1 Parent(s): 2bd0313

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +46 -0
README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ base_model: FutureMa/Eva-4B
6
+ tags:
7
+ - finance
8
+ - earnings-calls
9
+ - financial-nlp
10
+ - text-classification
11
+ - qwen3
12
+ - llm-as-judge
13
+ - distillation
14
+ - mlx
15
+ - mlx-my-repo
16
+ pipeline_tag: text-generation
17
+ library_name: transformers
18
+ spaces:
19
+ - FutureMa/financial-evasion-detection
20
+ ---
21
+
22
+ # alexgusevski/Eva-4B-mlx-6Bit
23
+
24
+ The Model [alexgusevski/Eva-4B-mlx-6Bit](https://huggingface.co/alexgusevski/Eva-4B-mlx-6Bit) was converted to MLX format from [FutureMa/Eva-4B](https://huggingface.co/FutureMa/Eva-4B) using mlx-lm version **0.29.1**.
25
+
26
+ ## Use with mlx
27
+
28
+ ```bash
29
+ pip install mlx-lm
30
+ ```
31
+
32
+ ```python
33
+ from mlx_lm import load, generate
34
+
35
+ model, tokenizer = load("alexgusevski/Eva-4B-mlx-6Bit")
36
+
37
+ prompt="hello"
38
+
39
+ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not None:
40
+ messages = [{"role": "user", "content": prompt}]
41
+ prompt = tokenizer.apply_chat_template(
42
+ messages, tokenize=False, add_generation_prompt=True
43
+ )
44
+
45
+ response = generate(model, tokenizer, prompt=prompt, verbose=True)
46
+ ```