Views
No views yet
Arcee Fusion is used for fusion.MT-Gen_gemma-4-E2B mean?MT = merge test, just a merge test and a number, per generation.Gen - what generation of associations this is, in general, it is not tied to anything, just an additional number, but usually the generation can change when I test, some completely new options. I also try not to include models of the same generation into the association.Gemma-4-E2B-it
Gemma is Google's family of open models.4 is essentially a generation of the model.E2B - means that the model uses all effective parameters, which when calculated are equal to 2 billion ordinary parameters, or so.it = instruction tuned, means that the model is prepared to work with instructions for this model to form a chat.Gemma-4-E2B-it models are usually capable of working with audio data.Arcee Fusion.MT2_gemma-4-E2BMT = merge test, просто проверка объединений и номер, в поколении.Gen - какое это поколение объединений, в целом, оно мало к чему привязано, просто дополнительная цифра, но обычно поколение может изменится, когда тестирую, какие-то совсем новые варианты. Также стараюсь не вводить в состав объединения, модели с тем же поколением.Gemma-4-E2B-it
Gemma - семейство открытых моделей Google.4 - это по своей сути поколение модели.E2B - значит что у модели всего используются эффективные параметры, которые при выполнении равны 2 миллиардам обычных параметров, или около того.it = instruction tuned, значит что модель подготовлена работать с инструкциями для данной модели, для формирования чата.Gemma-4-E2B-it обычно способны работать с аудио данными.1 - model: TrevorJS/gemma-4-E2B-it-uncensored
2 parameters:
3 density: 0.8
4 weight: 0.4
5
6 - model: MrHurro/Caveman_gemma-4-E2B_checkpoint-5550
7 parameters:
8 density: 0.5
9 weight: 0.6
10
11merge_method: arcee_fusion
12base_model: TrevorJS/gemma-4-E2B-it-uncensored
13parameters:
14 normalize: true
15dtype: bfloat16
16tokenizer_source: base1!pip install -qU transformers accelerate
2
3from transformers import AutoTokenizer
4import transformers
5import torch
6
7model = "zelk12/MT2_gemma-4-E2B"
8messages = [{"role": "user", "content": "What is a large language model?"}]
9
10tokenizer = AutoTokenizer.from_pretrained(model)
11prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
12pipeline = transformers.pipeline(
13 "text-generation",
14 model=model,
15 torch_dtype=torch.float16,
16 device_map="auto",
17)
18
19outputs = pipeline(prompt, max_new_tokens=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95)
20print(outputs[0]["generated_text"])