Skip to content

rblb

chatglm-6b-int4-qe-slim

rblb/chatglm-6b-int4-qe-slim

chatglm-6b-int4-qe-slim is a feature extraction model from rblb. Use it when you need embeddings to search or compare text. It is set up for transformers.

ChatGLM-6B-INT4-QE-Slim是在ChatGLM-6B-INT4-QE的基础上通过裁剪词表构建的。因为ChatGLM-6B使用了icetk,在其词表中,前20000个token是预留给图片的,在文本模型中没有用到这些图片token,但是在infer和微调的时候,这些token对应的embedding依然需要被加载,并且在解码每一个token的时候需要多计算20K个logits,会占用不少显存。因此将这一部分toke…

Downloads · 30 days

18

3% of all-time downloads

All-time downloads

551

Public

Repo size

6.3 GB

Likes

1

Public

Hugging Face

Repo makeup

Click a slice to open those files.

.bin3.1 GB · 100%

At a glance

Task
Feature Extraction
Library
transformers
Model type
chatglm
Access
Public
Created
Apr 2, 2023
Updated
Apr 2, 2023
SHA
48ad3984
Task
Feature Extraction
Library
transformers
Type
chatglm
Languages
zh, en
Created
Apr 2, 2023
Updated
Apr 2, 2023