Questions and answers
29 questions from the community, answered by the
authors in
#book-of-the-week
on Slack.
-
Leandro von Werra
Author of the book
Hi everyone, looking forward to answering all of your questions!
-
Lewis Tunstall
Author of the book
G'day everyone, it's great to be here 🤗 ! Looking forward to your questions too 🙂
-
Igor Dal Bo asked
Hi guys, thanks for taking the time to answer our questions 🙂
- what is the knowledge level needed for this book?
- which role do transformers play in topic modelling?
-
Gonzalo Ancochea Blanco asked
Hi!! Thanks Leandro, Lewis and Thomas for sharing some of your time!
Through your QA chapter I became very interested in Haystack. Retrieval+extraction/generation is very relevant for our team's needs and I've seen they have more nodes but we also need flexibility to add any other NLP components to the pipeline (e.g. NER, topic modelling, sentiment...)
Do you have any experience with building custom Haystack nodes and using the framework to implement full pipelines, and if so what is your take on it? Any alternatives? Thanks again 😄
-
Alexander Seifert asked
So awesome, good to have you guys here! My first question would be: Being both NLP practitioner and book publisher I know that (1) you often can’t include everything you want into a book, and (2) the field of NLP moves faster than the printing presses. Were there things you had to cut that you would have liked to include, and what advances in the field that came about since you handed off the manuscript make you excited to have included in the next edition of the book if there was one?
-
Alexander Seifert asked
I heard that you wrote the entire manuscript inside Jupyter notebooks. How was your experience with that toolchain for writing a whole book, and what did O’Reilly think about that? I imagine it’s still somewhat unusual.
-
Max Payne asked
Hi, great project and book indeed,
I have a question regarding explainability, which is gaining a lot of attention. With such a large model/training data, is it possible for these APIs to 'explain' their decision?
-
Max Payne asked
Also, regarding explainability, don't you think that the paper 'Pretrained Transformers as Universal Computation Engines' sort of makes it even harder, since it claims something like there is something special in the architecture that makes it generalizable and hence making it more difficult to justify the outputs?
-
Alexander Seifert asked
I am working on a human-in-the-loop NER system, where I’d like to use the prediction scores as a proxy for correctness. As far as I understand, this is called “uncertainty estimation” and it is not something that transformer models are providing out-of-the-box. Is there content on this problem in the book, and if not, are there any good resources you would recommend?
-
Hugo asked
Thanks for this wonderful book! I am looking forward to reading it. Writing a book is a very time consuming task so I have two general questions: 1) how long did it take you to do it? 2) what was the most challenging section of the book to write?
-
Adisorn asked
Hi, I am a beginner in this field. I heard from the above comment that you use Jupyter notebooks to write your code. Can I follow your code step by step if I use Collab?
-
Adisorn asked
In case my interesting NLP task is the Text summarization. Is there a connected issue to this topic?
-
Amruta Ranade asked
Hi leandro von werra, the concept of transformers is new to me and am learning about their architectures and functions currently. I was interested in knowing how transfer learning can be adopted with the transformers and are there any specific applications that you have covered in this book?
-
Sitao Zhang asked
Congrats HF team! !
This is Sitao from the J&J team, really glad to see you guys published this wonderful book and been awarded as the <#C01H403LKG8|book-of-the-week>.👏🎉
Just a glance of the book description, I’m curious about:
1. Whats the major difference between this book and the HF documentations online?
2. Since I have been leveraging the transformer for a while, which part/parts of the book do you mostly recommend for people who have some experience?
3. Not sure whether the HF BigScience will be cover here? I know the BigScience is super recent, maybe the similar concepts will be discussed in the book?
Thank you guys!👍
-
Lalit Pagaria asked
Thanks team for conducting this QnA.
Have following query -
HF being a leader in practical deployment of transformers model and super heading collaborative research initiative like Big Science. What are practical pipelines (pre-processing) must before giving input to transformers (production setup)?
-
Lalit Pagaria asked
In low resource setup. Is multi-head single transformers deployment is more suited or serially connecting multiple specific transformers? For example if we need translation + classification + summarization on same given input.
-
A asked
Huggingface has done a tremendous job in making transformer based models accessible to a lot of people. As a result, trying these SOTA models is no longer difficult and has enabled organisations of all scales make use of them
1. How do you feel about the widespread applicability of these models? Are there any cool use-cases in maybe some obscure domain where transformers are working there magic and which you’d like to share?
2. The popularity and ease of use of Huggingface means even non-DS background folks also are able to use the power of BERT. Most of the times this leads to models which are not built taking into bias and other components of responsible-ai into consideration. What do you think can be done to tackle this (if it needs to be tackled) ?
Thanks for the book! Definitely need to read this.
-
Mischa Ungermann asked
Hi guys, thanks for taking the time for this Q&A!
I was working with mostly CV topics for the last years and now I am curious to get an insight into this world of NLP everyone is talking about. For this I was wondering what resources you would recommend as an entry point to the field? I could imagine a certain book will be high on the list, and probably also the Hugging Face course, but maybe you know of more gems?
-
Leandro von Werra
Author of the book
So many great questions so far! Thank you and keep them coming! 🤗
-
Max Payne asked
It's the first time I have seen a book (predominantly targeting a specific API) and also addressing the topic of 'Text Generation' (i.e. beam search, greedy decoding etc.). How does HuggingFace deal with these methods - I mean do we as a user have a choice in selecting the method? or the model has a default setting? (Sorry if this question is answered in the book)
-
Marcello La Rocca asked
Hi! Congrats on the book, it looks awesome!
Question: where would you say it's the main advantage in using Huggingface's tranformers vs say GPT-3? What could be a disadvantage?
-
Marcello La Rocca asked
2nd question (partially related, but also more about the book content): what's the hardest challenge in scaling transformers?
-
Marcello La Rocca asked
3rd one: Do you think that transformers will be possibly applied beyond text/vision/speech? Maybe reasoning?
-
Marcello La Rocca asked
(thanks a lot!!!)
-
Evren Unal asked
Hi.
Thank you participating this event.
I would like to build a language translator some time in the future.
Q1) Can i use transformer technology to built it?
Q2) if so, did you give enough information in your book to build it?
-
armin zirak asked
Hi all!
Thanks for the great book!
Q: If I want to use transformers for numeric data instead of text, how can I do that? Do you think feeding the numbers as text does the job in the best way or is there any specific solution?
-
Allan asked
Hi, thanks for taking the time to answer questions here! Looking forward to the book!
Does the book address issues related to deploying and using transformers in production settings?
-
Shantanu Ladhwe asked
Hey, thanks for the amazing book. I am yet reading, and really liked the explanation of transformers there.
Question: How different would be Google’s next AI Architecture- Pathways from the Transformer architecture?
-
Max Payne asked
I wish I could use a Transformer here to generate questions (and hence increase my chances of getting the book) :-)
Want the whole story?
The answers above are the short version of Natural Language Processing with Transformers.