Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support decoder text embedding model in the examples/transformers_text.py #333

Merged
merged 17 commits into from
Jan 11, 2024
Prev Previous commit
Next Next commit
Update
  • Loading branch information
zechengz committed Jan 8, 2024
commit 08c2acbb65e2994ee903350112c137245e43fca3
162 changes: 0 additions & 162 deletions examples/tabular_image.py

This file was deleted.

2 changes: 1 addition & 1 deletion torch_frame/data/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ def forward(
) -> MultiEmbeddingTensor:

if self.embedder is not None:
# ser = ser.astype(str)
ser = ser.astype(str)
ser_list = ser.tolist()
if self.batch_size is None:
values = self.embedder(ser_list)
Expand Down
2 changes: 0 additions & 2 deletions torch_frame/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from .data_frame_benchmark import DataFrameBenchmark
from .mercari import Mercari
from .amazon_fine_food_reviews import AmazonFineFoodReviews
from .house_price_and_images import HousePricesAndImages

real_world_datasets = [
'Titanic',
Expand All @@ -32,7 +31,6 @@
'DataFrameBenchmark',
'Mercari',
'AmazonFineFoodReviews',
'HousePricesAndImages',
]

synthetic_datasets = [
Expand Down
49 changes: 0 additions & 49 deletions torch_frame/datasets/house_price_and_images.py

This file was deleted.