alt.freeweights.llama / LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned
From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.llamaSubject:

LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned

Date: 2026-11-15Commit: f31cd90Signed: 2DC28CC7B26A283B ✓

Model with 1.2B parameters. Safetensors weights, 4.95 GB in all. Published by microsoft under MIT.

1.2B params4.95GBLLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetunedsafetensorspermissive
FactsParams1.2BSize4.95 GBFormatssafetensorsTasknot taggedLicenseMITFrom sourcepermissive
$ fw get microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned
# manifest sha256 cedbce3436e9… · 4.95 GB · 8 files
$ fw verify ./LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned
From sourceHosted (signed)microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-FinetunedLast check: 2026-11-15 03:48 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
4.95 GB
Weights
4.94 GB (safetensors)
Parameters
1.2B
Formats
safetensors
Task
not tagged
License
MIT (permissive)
Files
8, each with a sha256
Publisher
microsoft
Added
2026-11-15
Section
alt.freeweights.llama
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:48 UTCpassed

Model card

From the publisher at commit f31cd90. Shown as plain text with links; images open at the publisher.

Usage#

Pytorch version#

pip install llm2vec

import os
os.environ["CUDA_VISIBLE_DEVICES"] = "0"

import torch
from torch import nn
from llm2vec import LLM2Vec
from transformers import AutoTokenizer, AutoModel, AutoConfig

class LLM2VecWrapper(LLM2Vec):
    def prepare_for_tokenization(self, text):
        text = (
            "<|start_header_id|>user<|end_header_id|>\n\n"
            + text.strip()
            + "<|eot_id|>"
        )
        return  text
    
class LlamaVec_1B_FeatureExtractor(nn.Module):
    def __init__(self):
        super().__init__()

        model_path = 'microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned'
        config = AutoConfig.from_pretrained(model_path)

        model = AutoModel.from_pretrained(model_path, config=config, trust_remote_code=True, torch_dtype=torch.bfloat16)
        tokenizer = AutoTokenizer.from_pretrained(model_path)

        tokenizer.pad_token = tokenizer.eos_token
        tokenizer.padding_side = "left"

        self.l2v = LLM2VecWrapper(model, tokenizer, pooling_mode="mean", max_length=512, skip_instruction=True)
        
    def extract_features(self, text):
        with torch.amp.autocast('cuda'):
            reps_norm = self.l2v.encode(text)
            reps_norm = torch.nn.functional.normalize(reps_norm, p=2, dim=1)
        return {"embeds": reps_norm}

text_model = LlamaVec_1B_FeatureExtractor()
captions = ["this is a test"]
embeddings = text_model.extract_features(captions)

BibTeX & Citation#

@misc{huang2024llm2clippowerfullanguagemodel,
      title={LLM2CLIP: Powerful Language Model Unlock Richer Visual Representation}, 
      author={Weiquan Huang and Aoqi Wu and Yifan Yang and Xufang Luo and Yuqing Yang and Liang Hu and Qi Dai and Xiyang Dai and Dongdong Chen and Chong Luo and Lili Qiu},
      year={2024},
      eprint={2411.04997},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2411.04997}, 
}

Files

8 files · 4.95 GBWeights 4.94 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 8 files with their sha256
FileSizesha256
.gitattributes1.57 KB72202216d5d2650259b8ef1ba1603b20e6df311cded7d3ec3bf2dfd0b91c9a23
README.md1.99 KB05d8a70f723d866824fd2d87ecc531b7c6bbbbd6a1f0b28c92c07c498d3692df
config.json1.02 KB6ad25fb6a2fad515abe47049b6a56d96ba0317620f69c8692f8836d126ea82d2
model.safetensors4.94 GB05e8e45205a34e85e72863de90cd4b4f3d6d26357424f8adabedeb3eecfa4c2d
modeling_bidirectional_llama_encoder.py8.17 KBef4e819f221479d9bdb7182756e019d380bee6b92ea24111fecd606457911548
special_tokens_map.json325 B1b1835caa5b4d70acaa210fa222b0036f1882f9525c4660fd4810fb3e1e40ff8
tokenizer.json9.09 MB79e3e522635f3171300913bb421464a87de6222182a0570b9b2ccba2a964b2b4
tokenizer_config.json54.6 KBdf757249013ee916c1318f170d2763cc2272d10d66c5d73a792ce34c2bd8cbb6
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
f31cd908f6 pinned now2026-11-15 03:48 UTC8 files · 4.95 GB

Use it

$ fw get microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned
# manifest sha256 cedbce3436e9… · 4.95 GB · 8 files
$ fw verify ./LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned.json --dir ./LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned $ python3 fw.py verify ./LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned ./microsoft__LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned --revision f31cd908f6244821e50740f333ce443e74bc6f8e --local-dir ./LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
05d8a70f723d866824fd2d87ecc531b7c6bbbbd6a1f0b28c92c07c498d3692df
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.llamaSubject: LLM2CLIP-Llama-3.2-1B-Instruct-CC-FinetunedDate: 2026-11-15Commit: f31cd90Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned
Pinned commit
f31cd908f6244821e50740f333ce443e74bc6f8e
Manifest
LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned.json · .minisig
Manifest sha256
cedbce3436e96dcdb2d137b8fe609bf4f3ad2c7abfe6462e92ba1246b7f94f30
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:48 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned.json.minisig $ minisign -Vm LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. LLM2CLIP-Llama-3.2-1B-Instruct-CC-Finetuned.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Bunny-Llama-3-8B-V
From: BAAI <huggingface.co/BAAI>Subject: Bunny-Llama-3-8B-V-gguf
From: BAAI <huggingface.co/BAAI>Subject: Bunny-v1_1-Llama-3-8B-V
From: unsloth <huggingface.co/unsloth>Subject: codellama-7b
From: unsloth <huggingface.co/unsloth>Subject: codellama-7b-bnb-4bit
From: BAAI <huggingface.co/BAAI>Subject: Infinity-Instruct-3M-0613-Llama3-70B