Instructions to use rithuparan07/ai_summarizer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use rithuparan07/ai_summarizer with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("rithuparan07/ai_summarizer", dtype=torch.bfloat16, device_map="cuda") prompt = "The tower is 324 metres (1,063 ft) tall, about the same height as an 81-storey building, and the tallest structure in Paris. Its base is square, measuring 125 metres (410 ft) on each side. During its construction, the Eiffel Tower surpassed the Washington Monument to become the tallest man-made structure in the world, a title it held for 41 years until the Chrysler Building in New York City was finished in 1930. It was the first structure to reach a height of 300 metres. Due to the addition of a broadcasting aerial at the top of the tower in 1957, it is now taller than the Chrysler Building by 5.2 metres (17 ft). Excluding transmitters, the Eiffel Tower is the second tallest free-standing structure in France after the Millau Viaduct." image = pipe(prompt).images[0] - Transformers
How to use rithuparan07/ai_summarizer with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "summarization" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("summarization", model="rithuparan07/ai_summarizer")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("rithuparan07/ai_summarizer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signaturee7822a1 -
Create code
Verified signature58ed516 -
Update README.md
Verified signature3d0b04f -
Update README.md
Verified signaturee8ece45
-
Update README.md
Verified signatureModel Card for Rithu Paran's Summarization Model Model Details Model Description Purpose: This model is designed for text summarization, specifically built to condense long-form content into concise, meaningful summaries. Developed by: Rithu Paran Model type: Transformer-based Language Model for Summarization Base Model: Meta-Llama/Llama-3.2-11B-Vision-Instruct Finetuned Model Version: Meta-Llama/Llama-3.1-8B-Instruct Language(s): Primarily English, with limited support for other languages. License: MIT License Model Sources Repository: Available on Hugging Face Hub under Rithu Paran Datasets Used: fka/awesome-chatgpt-prompts, gopipasala/fka-awesome-chatgpt-prompts Uses Direct Use This model can be directly employed for summarizing various types of content, such as news articles, reports, and other informational documents. Out-of-Scope Use It is not recommended for highly technical or specialized documents without additional fine-tuning or adaptation. Bias, Risks, and Limitations While…db0ca04 -
Update README.md
Verified signature--- license: mit datasets: - fka/awesome-chatgpt-prompts - gopipasala/fka-awesome-chatgpt-prompts metrics: - character base_model: - meta-llama/Llama-3.2-11B-Vision-Instruct new_version: meta-llama/Llama-3.1-8B-Instruct pipeline_tag: summarization library_name: diffusers tags: - legal --- # Model Card for Model ID <!-- Provide a quick summary of what the model is/does. --> This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1). ## Model Details ### Model Description <!-- Provide a longer summary of what this model is. --> - **Developed by:** [More Information Needed] - **Funded by [optional]:** [More Information Needed] - **Shared by [optional]:** [More Information Needed] - **Model type:** [More Information Needed] - **Language(s) (NLP):** [More Information Needed] - **License:** [More Information Needed] - **F…f4e2ac8 -
initial commit
Verified signatured3c9203