All models

Literature · RaphaelMourad

Mistral-Chem-v1-417M

A 417-million-parameter generative language model pretrained on PubChem SMILES strings for molecular chemistry.

What Mistral-Chem-v1-417M is

Mistral-Chem-v1-417M is a pretrained generative language model designed for molecular chemistry, developed by Raphaël Mourad. Containing 417 million parameters, the model is built to process and generate chemical structures formatted as text strings.

The model serves as a foundational base model for chemical molecules. It was pretrained on 10 million Simplified Molecular Input Line Entry System (SMILES) representations extracted from the PubChem database, providing learned representations of chemical structures for computational chemistry investigations.

How it works

The architecture is derived from the Mixtral-8x7B-v0.1 transformer, simplified specifically for chemical molecule sequences by reducing the number of layers and shrinking the hidden state dimension to 256. It incorporates a Mixture-of-Experts structure, grouped-query attention, sliding-window attention, and a byte-fallback byte-pair encoding (BPE) tokenizer.

Chemical inputs supplied as SMILES strings are tokenised and passed through the transformer network. The resulting outputs include text completions as well as sequence-level hidden states, which can be extracted and reduced through operations such as max pooling to produce dense chemical vector representations.

Key facts

Parameter count
417M
Base architecture
Mixtral-8x7B-v0.1 derivative (Mixture of Experts)
Attention mechanisms
Grouped-query attention and sliding-window attention
Tokenizer
Byte-fallback BPE
Pretraining corpus
10 million molecule SMILES strings from PubChem
Hidden dimension
256
Inputs
Text prompts and SMILES strings
Outputs
Text completions and hidden-state embeddings
Software dependency
Transformers 4.34.0 or newer

What you can use it for

Molecular representation extraction
Researchers can pass SMILES strings through the model to obtain hidden states and compute 256-dimensional pooled molecular embeddings for downstream analysis.
Chemical sequence generation
The model can be deployed for text generation to complete prompts containing molecular representations.
Pretrained base for chemistry tasks
Chemists can utilise the model as a chemical-domain foundation model for task-specific fine-tuning.

Run it here

No installation and no GPU of your own: fill in the inputs and it runs on our servers. Results stay in your browser unless you sign in.

Runs on On-demand GPU

Runs on our servers with on-demand compute. A first run needs time to load the model; active capacity can be reused and scales down when idle.

Run this model

Mistral-Chem-v1-417M

The model continues from here.

Needs prompt

Strengths and limits

Good at

  • Pretrained on a large collection of 10 million molecular SMILES strings from PubChem.
  • Employs a lightweight Mixture-of-Experts transformer design with reduced layer count and hidden dimension.
  • Incorporates efficient sliding-window and grouped-query attention mechanisms alongside a byte-fallback tokenizer.

Watch out for

  • Serves strictly as a pretrained base model rather than a specialised tool fine-tuned for specific chemical property predictions.
  • Requires a minimum environment of Transformers version 4.34.0 or newer to operate.
  • Requires approximately 16 GB of GPU memory for standard pipeline execution.

Inputs and outputs

You provide

  • Prompt

    The model continues from here.

You get back

  • The model's completion.

Mistral-Chem-v1-417M API

The same run, from your own code: one HTTP request with an API key, billed in the same credits as the Run button. A fast run answers with its outputs; a longer one answers with a poll_url to read.

bash
curl https://corollary-labs.com/api/v1/models/raphaelmourad-mistral-chem-v1-417m/runs \
  -H "Authorization: Bearer $COROLLARY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "text": "<Prompt>"
  }
}'

Make an API key, then read the models reference.

Licence

Commercial use permitted · apache-2.0

apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

Questions

Can I use Mistral-Chem-v1-417M commercially?

Commercial use permitted. apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

How do I run Mistral-Chem-v1-417M without installing anything?

Use the form under “Run it here” on this page: fill in the inputs and press Run model. It runs on our servers on CPU only, typically in 37s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.

What dataset was used to train Mistral-Chem-v1-417M?

The model was pretrained on 10 million chemical molecule SMILES strings taken from the PubChem database.

What architecture does the model follow?

It follows a reduced Mixtral-8x7B-v0.1 Mixture-of-Experts transformer architecture with grouped-query attention, sliding-window attention, and a reduced hidden dimension.

What is the dimension of the generated embeddings?

Extracting hidden states and applying pooling yields molecular embeddings with a dimension of 256.

What software version is required to run the model?

A stable release of the Transformers library version 4.34.0 or newer is required.

Written from Mistral-Chem-v1-417M's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.