6Genix commited on
Commit
d984bee
·
1 Parent(s): 01bc7e8

removal of pipeline transformer and autoconfig

Browse files
Files changed (1) hide show
  1. app.py +1 -8
app.py CHANGED
@@ -1,13 +1,6 @@
1
  import streamlit as st
2
 
3
- from transformers import AutoTokenizer, AutoModelForCausalLM, AutoConfig, pipeline
4
-
5
- try:
6
- config = AutoConfig.from_pretrained("microsoft/Phi-3-mini-4k-instruct", trust_remote_code=True)
7
- print("Model configuration loaded successfully:")
8
- print(config)
9
- except KeyError as e:
10
- print(f"KeyError: {e}")
11
 
12
  ##############################################################################
13
  # MASTER POLICY
 
1
  import streamlit as st
2
 
3
+ from transformers import AutoTokenizer, AutoModelForCausalLM
 
 
 
 
 
 
 
4
 
5
  ##############################################################################
6
  # MASTER POLICY