Git Product home page Git Product logo

news-article-text-summarizer-transformer's People

Contributors

shivanink8 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

news-article-text-summarizer-transformer's Issues

Model Not Available.

When i try to run thr project in conda environment wit python version 3.8 it shows error as :\

(myenv) nachiket@nachiket-Vostro-3480:~/Desktop/News-Article-Text-Summarizer-Transformer/StreamlitApp$ streamlit run highlights_app.py

You can now view your Streamlit app in your browser.

Local URL: http://localhost:8502
Network URL: http://192.168.80.133:8502

2024-03-10 10:43:29.714553: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-03-10 10:43:29.761495: I tensorflow/tsl/cuda/cudart_stub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-03-10 10:43:29.761866: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-03-10 10:43:30.902199: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
404 Client Error: Not Found for url: https://huggingface.co/shivaniNK8/t5-small-finetuned-cnn-news/resolve/main/tf_model.h5
404 Client Error: Not Found for url: https://huggingface.co/shivaniNK8/t5-small-finetuned-cnn-news/resolve/main/tf_model.h5
2024-03-10 10:50:25.839 Uncaught app exception
Traceback (most recent call last):
File "/home/nachiket/anaconda3/envs/myenv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 542, in _run_script
exec(code, module.dict)
File "/home/nachiket/Desktop/News-Article-Text-Summarizer-Transformer/StreamlitApp/highlights_app.py", line 17, in
summarizer = pipeline("summarization", model=hub_model_id)
File "/home/nachiket/anaconda3/envs/myenv/lib/python3.8/site-packages/transformers/pipelines/init.py", line 454, in pipeline
framework, model = infer_framework_load_model(
File "/home/nachiket/anaconda3/envs/myenv/lib/python3.8/site-packages/transformers/pipelines/base.py", line 158, in infer_framework_load_model
raise ValueError(f"Could not load model {model} with any of the following classes: {class_tuple}.")
ValueError: Could not load model shivaniNK8/t5-small-finetuned-cnn-news with any of the following classes: (<class 'transformers.models.auto.modeling_tf_auto.TFAutoModelForSeq2SeqLM'>, <class 'transformers.models.t5.modeling_tf_t5.TFT5ForConditionalGeneration'>).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.