English llama_2_7b_hf_pipeline pipeline T5Transformer from Sourabh2

Description

Pretrained T5Transformer, adapted from Hugging Face and curated to provide scalability and production-readiness using Spark NLP.llama_2_7b_hf_pipeline is a English model originally trained by Sourabh2.

Download Copy S3 URI

How to use


pipeline = PretrainedPipeline("llama_2_7b_hf_pipeline", lang = "en")
annotations =  pipeline.transform(df)   


val pipeline = new PretrainedPipeline("llama_2_7b_hf_pipeline", lang = "en")
val annotations = pipeline.transform(df)

Model Information

Model Name: llama_2_7b_hf_pipeline
Type: pipeline
Compatibility: Spark NLP 5.5.1+
License: Open Source
Edition: Official
Language: en
Size: 2.3 GB

References

https://huggingface.co/Sourabh2/Llama-2-7b-hf

Included Models

  • DocumentAssembler
  • T5Transformer