tritesh commited on
Commit
bb9c7aa
·
verified ·
1 Parent(s): 61d084d

Update ML Intern artifact metadata

Browse files
Files changed (1) hide show
  1. README.md +21 -0
README.md CHANGED
@@ -5,6 +5,7 @@ license_link: https://ai.google.dev/gemma/docs/gemma_4_license
5
  pipeline_tag: image-text-to-text
6
  tags:
7
  - mlx
 
8
  base_model: google/gemma-4-31B-it
9
  ---
10
 
@@ -33,3 +34,23 @@ if hasattr(tokenizer, "apply_chat_template") and tokenizer.chat_template is not
33
 
34
  response = generate(model, tokenizer, prompt=prompt, verbose=True)
35
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  pipeline_tag: image-text-to-text
6
  tags:
7
  - mlx
8
+ - ml-intern
9
  base_model: google/gemma-4-31B-it
10
  ---
11
 
 
34
 
35
  response = generate(model, tokenizer, prompt=prompt, verbose=True)
36
  ```
37
+
38
+ <!-- ml-intern-provenance -->
39
+ ## Generated by ML Intern
40
+
41
+ This model repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
42
+
43
+ - Try ML Intern: https://smolagents-ml-intern.hf.space
44
+ - Source code: https://github.com/huggingface/ml-intern
45
+
46
+ ## Usage
47
+
48
+ ```python
49
+ from transformers import AutoModelForCausalLM, AutoTokenizer
50
+
51
+ model_id = 'tritesh/gemma-4-31B-it-mlx-2Bit'
52
+ tokenizer = AutoTokenizer.from_pretrained(model_id)
53
+ model = AutoModelForCausalLM.from_pretrained(model_id)
54
+ ```
55
+
56
+ For non-causal architectures, replace `AutoModelForCausalLM` with the appropriate `AutoModel` class.