LLM
LLM Deployment Tool llama.cpp
· β˜• 5 min read
1. LLM Deployment Tool llama.cpp Research on large models is split into two parts: training and inference. The training process is essentially the process of finding model parameters that minimize the model’s loss function and optimize the inference results. Once training is complete, the model’s parameters are fixed, and at

Some Free GPT-4-32K Quota β€” Fans, Come Try It While It Lasts
· β˜• 1 min read
Taken offline on 2024.06.26 1. My GPT-4-32K API Application Was Approved I had previously submitted an application on Azure to use GPT-4, and a few days ago I received the email saying the review had passed. The pricing is as follows: Context Length Prompt per 1,000 tokens (8k) Completion per 1,000 tokens (32k) 8k $0.

Usage of the transformers Library
· β˜• 3 min read
transformers is a Python library developed by Hugging Face for using and training pretrained Transformer models in natural language processing (NLP) tasks. It provides many powerful tools and features that make working with text data and building NLP models much easier. The library is widely used across a variety of

Model and Dataset Operations on HuggingFace
· β˜• 2 min read
HuggingFace offers shared models, datasets, and hosted spaces, giving AI researchers and developers a complete ecosystem. This article explains how to work with HuggingFace models and datasets. 1. Model Operations and Usage 1.1 Custom Storage Directory 1 export HF_HOME=/Volumes/Data/HuggingFace Otherwise the default is the ~/.cache/huggingface directory. 1.2 Downloading Models The

Transformer Learning Notes
· β˜• 5 min read
1. Why Transformer Fully connected self-attention In earlier RNN models, each word could only relate to its neighboring words, whereas with the Attention mechanism in the Transformer model, a word can relate to a word at any position, so it can capture global context information. No vanishing gradient problem An RNN applies repeatedly to the same weight matrix, so when its largest eigenvalue is less than 1 the vanishing gradient problem appears.