Skip to content

Standard forward_from_embedding in BaseModel#821

Draft
Logiquo wants to merge 4 commits intosunlabuiuc:masterfrom
Logiquo:add/forward_from_embedding
Draft

Standard forward_from_embedding in BaseModel#821
Logiquo wants to merge 4 commits intosunlabuiuc:masterfrom
Logiquo:add/forward_from_embedding

Conversation

@Logiquo
Copy link
Collaborator

@Logiquo Logiquo commented Feb 6, 2026

Add three new methods forward, forward_from_embedding, get_embedding_model.

This breaks the old forward_from_embedding, but make it more mimic towards forward. This should make the API a bit cleaner to avoid a bunch of random named args, but does mean all interpertability methods need to update according to new API

Fix #818.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

standard embedding BaseModel

1 participant