File size: 309 Bytes
19ebadd
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import streamlit as st
import pandas as pd
import numpy as np

modelo = SentenceTransformer("paraphrase-multilingual-MiniLM-L12-v2") 
dataset = load_dataset('Waflon/FAQ', split="train")  # Loading the SQuAD dataset from huggingface.
df_FAQ = pd.DataFrame(dataset)

st.dataframe(df_FAQ)  # Same as st.write(df)