Downloads · 30 days
0
marro-co/Semma-27B
Semma-27B is a machine learning model from marro-co. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Semma-27B is a fine-tuned version of the Gemma2-27B base model, trained on the Psych-101 dataset. This model is specialized for tasks requiring insight into human cognition and decision-making, as captured in natural…
Downloads · 30 days
0
Access
Public
Updated Feb 24, 2025
Repo size
—
Likes
0
Public
Click a slice to open those files.
.md3.3 KB · 68%
From the Hugging Face model README
Semma-27B is a fine-tuned version of the Gemma2-27B base model, trained on the Psych-101 dataset. This model is specialized for tasks requiring insight into human cognition and decision-making, as captured in natural language transcripts from psychological experiments. It's well-suited for research, educational tools, or applications needing psychology-informed language generation.
Psych-101 is a dataset of natural language transcripts from human psychological experiments. It includes trial-by-trial data from 160 experiments, involving 60,092 participants who made 10,681,650 choices. Human decisions are encapsulated within << and >> tokens.
text: Natural language transcription of the experimentexperiment: Identifier for the experimentparticipant: Identifier for the participantdatasets.load_dataset('marcelbinz/Psych-101')You will be presented with triplets of objects, assigned to the keys D, P, and H.
In each trial, indicate which object is the odd one out by pressing the corresponding key.
Choose the object least similar to the other two.
D: piecrust, P: game, H: bracelet. You press <<D>>.
D: tuning fork, P: rocket, H: waffle iron. You press <<P>>.
D: grits, P: combination lock, H: suitcase. You press <<D>>.
D: boulder, P: odometer, H: salami. You press <<P>>.
D: spoon, P: diaper, H: satellite dish. You press <<P>>.
[...]
Load Semma-27B from Hugging Face using the Transformers library:
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "marro-co/semma-27b"
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(model_name)
# Example inference
input_text = "Which is the odd one out: D: piecrust, P: game, H: bracelet?"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=50)
print(tokenizer.decode(outputs[0], skip_special_tokens=True)) # Expected: <<D>>
Semma-27B was fine-tuned on Psych-101 to capture patterns in human cognitive choices and their natural language context. The process emphasized preserving the base model's general capabilities while enhancing its performance on psychology-specific tasks, such as identifying odd-one-out selections.
The model may overfit to Psych-101's experimental structure and struggle with unrelated domains. Outputs should be validated, especially for applications beyond cognitive psychology.
For questions, reach out at marro-co on Hugging Face.