crumb / gzip-openhermes

huggingface.co
Total runs: 18
24-hour runs: 0
7-day runs: 0
30-day runs: 9
Model's Last Updated: November 20 2023

Introduction of gzip-openhermes

Model Details of gzip-openhermes

GZIP Embeddings with Normalized Text

It's so funny that the huggingface hub lets you do this

model parameters embedding dimensions
meta-llama/Llama-2-70b-hf 70b 8192
crumb/gzip-openhermes 1* 242,831

*the huggingface pretrained model saving api requires at least one parameter, which is set to "1" in this model.

multiprocessing is suuuper weird so make sure you dont have the variables "p" or "calculate_ncd_row" in your code anywhere..

Usage
# Requirements
%pip install -qq transformers

# Download Model
from transformers import AutoModel
model = AutoModel.from_pretrained("crumb/gzip-openhermes", trust_remote_code=True)

# Prune model
model.config.update({
    "corpus": model.config.corpus[:1024]
})
model.dimensionality() # 1024

# Inference
model(["this is a test sequence"], num_procs=16).shape # [1, 1024]

# Finetuning
from tqdm.auto import tqdm

new_data = ["i love GZIP! it is my favorite!", "i HATE transformers!"]
normalized_data = [
    model.normalize(i) for i in tqdm(new_data)
]
print(f"Input: '{new_data[0]}'\nTransformed: '{normalized_data[0]}'")

model.config.update({
    "corpus": model.config.corpus + normalized_data
})
model.dimensionality()
model.save_pretrained("my-finetuned-gzip-model")

config:

normalize = True,
normalized_corpus = True,
reduction = False,
reduced_dimension = 0,
remove_stop_words = True,
stop_words = stopwords.words('english'),
corpus = [], # openhermes instructions + outputs, i think having [instructions, outputs, instructions+outputs] would be better but its literally 3x slower  also i dont care

Runs of crumb gzip-openhermes on huggingface.co

18
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
9
30-day runs

More Information About gzip-openhermes huggingface.co Model

gzip-openhermes huggingface.co

gzip-openhermes huggingface.co is an AI model on huggingface.co that provides gzip-openhermes's model effect (), which can be used instantly with this crumb gzip-openhermes model. huggingface.co supports a free trial of the gzip-openhermes model, and also provides paid use of the gzip-openhermes. Support call gzip-openhermes model through api, including Node.js, Python, http.

gzip-openhermes huggingface.co Url

https://huggingface.co/crumb/gzip-openhermes

crumb gzip-openhermes online free

gzip-openhermes huggingface.co is an online trial and call api platform, which integrates gzip-openhermes's modeling effects, including api services, and provides a free online trial of gzip-openhermes, you can try gzip-openhermes online for free by clicking the link below.

crumb gzip-openhermes online free url in huggingface.co:

https://huggingface.co/crumb/gzip-openhermes

gzip-openhermes install

gzip-openhermes is an open source model from GitHub that offers a free installation service, and any user can find gzip-openhermes on GitHub to install. At the same time, huggingface.co provides the effect of gzip-openhermes install, users can directly use gzip-openhermes installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

gzip-openhermes install url in huggingface.co:

https://huggingface.co/crumb/gzip-openhermes

Url of gzip-openhermes

gzip-openhermes huggingface.co Url

Provider of gzip-openhermes huggingface.co

crumb
ORGANIZATIONS

Other API from crumb

huggingface.co

Total runs: 2.9K
Run Growth: 1.1K
Growth Rate: 36.73%
Updated:March 10 2024
huggingface.co

Total runs: 226
Run Growth: 157
Growth Rate: 68.86%
Updated:March 18 2024
huggingface.co

Total runs: 158
Run Growth: 26
Growth Rate: 16.46%
Updated:January 05 2024
huggingface.co

Total runs: 145
Run Growth: 139
Growth Rate: 97.20%
Updated:March 02 2024
huggingface.co

Total runs: 92
Run Growth: 43
Growth Rate: 58.90%
Updated:July 21 2023
huggingface.co

Total runs: 73
Run Growth: 0
Growth Rate: 0.00%
Updated:August 15 2024
huggingface.co

Total runs: 33
Run Growth: 21
Growth Rate: 63.64%
Updated:May 06 2023
huggingface.co

Total runs: 32
Run Growth: 26
Growth Rate: 78.79%
Updated:November 25 2023
huggingface.co

Total runs: 26
Run Growth: 12
Growth Rate: 46.15%
Updated:February 13 2024
huggingface.co

Total runs: 23
Run Growth: 16
Growth Rate: 66.67%
Updated:August 27 2024
huggingface.co

Total runs: 19
Run Growth: 12
Growth Rate: 63.16%
Updated:January 04 2024
huggingface.co

Total runs: 18
Run Growth: 11
Growth Rate: 61.11%
Updated:January 07 2024
huggingface.co

Total runs: 15
Run Growth: 7
Growth Rate: 46.67%
Updated:October 12 2023
huggingface.co

Total runs: 14
Run Growth: 7
Growth Rate: 50.00%
Updated:November 25 2023
huggingface.co

Total runs: 13
Run Growth: 5
Growth Rate: 38.46%
Updated:November 30 2023
huggingface.co

Total runs: 12
Run Growth: 4
Growth Rate: 33.33%
Updated:October 19 2023
huggingface.co

Total runs: 12
Run Growth: 2
Growth Rate: 16.67%
Updated:November 25 2023
huggingface.co

Total runs: 12
Run Growth: 3
Growth Rate: 25.00%
Updated:November 30 2023
huggingface.co

Total runs: 12
Run Growth: 4
Growth Rate: 33.33%
Updated:September 27 2023
huggingface.co

Total runs: 11
Run Growth: 2
Growth Rate: 18.18%
Updated:October 11 2023
huggingface.co

Total runs: 10
Run Growth: 5
Growth Rate: 45.45%
Updated:November 07 2023
huggingface.co

Total runs: 9
Run Growth: -2
Growth Rate: -22.22%
Updated:October 17 2023
huggingface.co

Total runs: 9
Run Growth: 7
Growth Rate: 70.00%
Updated:November 25 2023
huggingface.co

Total runs: 9
Run Growth: -1
Growth Rate: -11.11%
Updated:October 16 2023
huggingface.co

Total runs: 9
Run Growth: 1
Growth Rate: 11.11%
Updated:October 15 2023