dhruvbird
See https://www.grammarly.com/blog/engineering/deep-learning-swi... for more details - it's very similar to the architecture described by the FUTO folks.
One key difference is that the learned model does not decode in a context sensitive manner but does it a word at a time. The main reason is because we wanted to release this soon and wanted the user's personal dictionary (i.e. contact names, etc... to show up correctly when swiped). It would have been nice if we could have followed through with the context sensitive decoding as described by the FUTO folks. It would really help with accuracy when dealing with words like:
1. (food, good, hood) 2. (you, toy, rot) 3. (our, or, it) etc...
(Disclaimer: I am one of the authors of the Grammarly swipe system as described in the linked blog post).
While the provided schema has a "quantity" field, it doesn't mention the units.
<code>
class Item(BaseModel):
name: str
price: float = Field(description="per-unit item price")
quantity: float = Field(default=1, description="If not specified, assume 1")
class Receipt(BaseModel): establishment_name: str
date: str = Field(description="YYYY-MM-DD")
total: float = Field(description="The total amount of the receipt")
currency: str = Field(description="The currency used for everything on the receipt")
items: list[Item] = Field(description="The items on the receipt")
</code>There needs to be a better evaluation and a better provided schema that captures the full details of what is expected to be captured.
> What kind of error should it return if there's no total listed on the receipt? Should it even return an error or is it OK for it to return total = null?
Additionally, the schema allows optional fields, so the LLM is free to skip missing fields if they are specified as such.
We’re the PyTorch Mobile Team (https://github.com/pytorch/pytorch/) working on making PyTorch broadly available for a plethora of mobile devices both within Facebook and outside. We’re interested in motivated engineers in this space who are willing to work remotely (within the US).
PyTorch is the most popular AI framework within the research community, and we’re working on making it production ready (especially on mobile devices).
You can see here (https://ai.facebook.com/tools/pytorch/) that the journey for Mobile (marked experimental) has just gotten started, and you’ll be jumping on to the bandwagon as it starts to leave the station!
Please drop us an email at (agaurav at fb dot com and dhruvbird at fb dot com), and we’d love to chat if this sounds interesting to you!
People with beards are less likely to have disease carrying bacteria
Ask HN: Opt in v/s out
This question keeps coming up, and the usual argument I've heard is: For most users, they wouldn't bother opting in, so there's no way to release a feature than to have them be opted in by default for all new features, and then have an option to opt out for stuff they don't really want.I was wondering if it would be feasible for a product to have a screen when it's installed, asking users if...
Ask HN: What are the implications of Senate Bill 593?
http://leginfo.legislature.ca.gov/faces/billNavClient.xhtml?bill_id=201520160SB593I got an email from Airbnb asking me to email the CA state senators to oppose SB 593. I'm not entirely sure if it's a good or bad thing. Any explanation as to what the long term implications of this could be would be super appreciated.