@huggingface/transformers
Version:
State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
14 lines (10 loc) • 428 B
JavaScript
import { PreTrainedModel } from '../modeling_utils.js';
/**
* The bare LLama Model outputting raw hidden-states without any specific head on top.
*/
export class LlamaPreTrainedModel extends PreTrainedModel {}
/**
* The bare LLaMA Model outputting raw hidden-states without any specific head on top.
*/
export class LlamaModel extends LlamaPreTrainedModel {}
export class LlamaForCausalLM extends LlamaPreTrainedModel {}