Remove rust-bert
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -1,12 +1,4 @@
|
||||
FROM rust:bookworm
|
||||
|
||||
RUN apt-get update -y && apt-get upgrade -y
|
||||
RUN apt-get install -y python3 python3-setuptools python3-pip
|
||||
RUN apt-get clean
|
||||
RUN rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN pip3 install torch==2.1.0+cpu --index-url https://download.pytorch.org/whl/cpu --break-system-packages
|
||||
ENV LIBTORCH_USE_PYTORCH 1
|
||||
FROM rust
|
||||
|
||||
RUN rustup install nightly
|
||||
RUN rustup component add rustfmt clippy --toolchain nightly
|
||||
|
@@ -51,8 +51,6 @@ CREATE TABLE IF NOT EXISTS qrust.news (
|
||||
source String,
|
||||
summary String,
|
||||
content String,
|
||||
sentiment Enum('positive' = 1, 'neutral' = 0, 'negative' = -1),
|
||||
confidence Float64,
|
||||
url String,
|
||||
INDEX index_symbols symbols TYPE bloom_filter()
|
||||
)
|
||||
|
Reference in New Issue
Block a user