{ "cells": [ { "cell_type": "code", "execution_count": 2, "id": "95be5de6", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "\n", "Downloading: 0%| | 0.00/2.75G [00:00 512). Running this sequence through the model will result in indexing errors\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Paragraph:\n", "\n", "Generated Queries:\n", "1: where is rue cler in paris france\n", "2: where is rue cler paris\n", "3: where is rue cler\n", "4: what hotel is near eiffel tower\n", "5: where is rue cler in paris france\n" ] } ], "source": [ "\n", "para = \"\"\"dtcc investor kinetics provides aggregated and anonymized global equity and fixed income securities transaction data sourced from dtccs us and global institutional trade processing itp platforms formerly known as omgeo the service provides a unique perspective on market trends across the buy side dtcc investor kinetics reports deliver current and historical time series information and include a volumeweighted average price vwap of all trades separated by investor type along with aggregations of share volume segmented by traditional asset managers hedge funds and retail wealth managers\n", "\n", "dtcc investor kinetics is a powerful source of historical data for enhancing users research and analytical capabilities the services reports can be used for the back testing of models and to identify price and volume trends by investor type for alpha generation risk modelling and other purposes\"\"\"\n", "input_ids = tokenizer.encode(txt, return_tensors='pt')\n", "with torch.no_grad():\n", " outputs = model.generate(\n", " input_ids=input_ids,\n", " max_length=128,\n", " do_sample=True,\n", " top_p=0.95,\n", " num_return_sequences=5)\n", "\n", "print(\"Paragraph:\")\n", "#print(para)\n", "\n", "print(\"\\nGenerated Queries:\")\n", "for i in range(len(outputs)):\n", " query = tokenizer.decode(outputs[i], skip_special_tokens=True)\n", " print(f'{i + 1}: {query}')" ] }, { "cell_type": "code", "execution_count": 13, "id": "a62c53ad", "metadata": {}, "outputs": [ { "data": { "text/plain": [ "'we had the best stay at cler hotel the location the staff and the hotel itself is a 1010 our stay couldnt have been lovelier it was our first time at cler hotel but it will not have been our last clean hotel good location helpful staff especially sujit the wash basins are too small though we had thought that the rooms had eiffel tower view based on the website but as it turned out there are only 2 rooms like thatthe cler hotel couldnt be more perfectly situated or more welcoming we were greeted by the wonderful manager who spoke perfect english and made us feel so welcome our room was clean comfortable and quiet with a lovely view out the garden window cler hotel could not be more centrally located to explore rue cler the eiffel and has a metro stop nearby merci beaucoup to the staff at cler hotel fir making our stay an enjoyable onei stayed at cler hotel for 4 nights with my daughter i really appreciated that the staff was able to fulfill my requests the hotel is clean modern and is located in a very nice location the area also felt very safe i liked that there was a fridge in the room and the beds were very comfortable the staff was very nice and helpful all in all we had a lovely time in paris and the hotel was an important part of thatwe came and stayed a week at the hotel loved the room the staff the location and the service at hotel cler many restaurants just outside and a store every taxi driver knew where it was so taking a taxi was no problem the staff was fantastic helped us with everything we needed breakfast was amazing recommend thatthe location is absolutely superb near to the museum we wanted to visit and on a pedestrianized street made it even better the service at the hotel was first rate staff friendly accommodating and very helpful the room was very well appointed with excellent facilities clean modern light and with views across the roof tops to the top of the eiffel tower the breakfast was excellent and good value for money i cannot recommend this hotel highly enough i only wish we could have stayed more than one night i would definitely want to stay here again when visiting parismy wife and i stayed there for our first trip to paris and we would both highly recommend this hotel very modest in amenities but great location and very friendly staff idir front desk staff was awesome giving us tips and directions whenever neededwe could not have been happier with our stay at cler hotel we had excellent service from elsa who provided the most complete and delicious breakfast service daily and the receptionist sujit and all the others who worked at the reception rue cler was particularly quiet and many restaurants in the area closed the last part of august when we visited but we did like le roussillon next to the hotel and le recruetement two lively parisian bistros and bars when so many restaurants were closed for august vacations hotel rooms small but only compared to american standards just right for paris and a great elevator thank you for a wonderful stay the donovans hope to come back and practice more french with you it was very nice that sujit offered to hold our luggage betweenhotel was small and quaint has an elevator and dinning place during breakfast clean and quiet if you open your windows you can hear the outside noise of the street market but when closed you dont hear anything having the street market literally outside of your hotel is a blessing you can walk to a bakery souvenir shop restaurants and many many more thingsi stayed at cler hotel for 4 nights with my daughter i really appreciated that the staff was able to fulfill my requests the hotel is clean modern and is located in a very nice location the area also felt very safe i liked that there was a fridge in the room and the beds were very comfortable the staff was very nice and helpful all in all we had a lovely time in paris and the hotel was an important part of thatthe location is absolutely superb near to the museum we wanted to visit and on a pedestrianized street made it even better the service at the hotel was first rate staff friendly accommodating and very helpful the room was very well appointed with excellent facilities clean modern light and with views across the roof tops to the top of the eiffel tower the breakfast was excellent and good value for money i cannot recommend this hotel highly enough i only wish we could have stayed more than one night i would definitely want to stay here again when visiting pariswe could not have been happier with our stay at cler hotel we had excellent service from elsa who provided the most complete and delicious breakfast service daily and the receptionist sujit and all the others who worked at the reception rue cler was particularly quiet and many restaurants in the area closed the last part of august when we visited but we did like le roussillon next to the hotel and le recruetement two lively parisian bistros and bars when so many restaurants were closed for august vacations hotel rooms small but only compared to american standards just right for paris and a great elevator thank you for a wonderful stay the donovans hope to come back and practice more french with you it was very nice that sujit offered to hold our luggage betweenthis was the perfect hotel for our two night stay in paris it was clean and quiet the staff was incredibly friendly and helpful absolutely adore sujit and elsa and its really close to the eiffel tower and metro 8 line the breakfast was decent maybe a little bit expensive for what it is but its nice enough if youre in paris there is a lot of eating to be done anyhow i would absolutely stay at this hotel againmy wife and i stayed there for our first trip to paris and we would both highly recommend this hotel very modest in amenities but great location and very friendly staff idir front desk staff was awesome giving us tips and directions whenever neededgreat location on rue cler beautiful street and area right outside your door with shops cafes etc helpful and friendly staff room was comfortable and overlooked the busy and interesting street but was not loud i would stay here againhotel was small and quaint has an elevator and dinning place during breakfast clean and quiet if you open your windows you can hear the outside noise of the street market but when closed you dont hear anything having the street market literally outside of your hotel is a blessing you can walk to a bakery souvenir shop restaurants and many many more thingswe spent 2 nights in this small but uptodate hotel recently renovated in a pedestrian area close with a general daily market and many interesting shops it is also close to a couple of metro station line 8 walking distance from tour eiffel and les invalides we will choose this hotel again for our next trip to parisnewly renovated chic little hotel in a perfect location pedestrian street in the center of the paris the service and the team there made us feel welcome love the shower the views the bedding and the ambiancestayed at the cler hotel from dec 28th through jan 1st i want to thank all the staff especially florentin who helped us secure transportation during the strikes this past december the view from our room of the eiffel tower was memorable plus the restaurants the market and shops like the chocolate one on the street made it a great place to stay its about 10 mins walk from the eiffel tower rooms are small bathroom was still decent size the elevator fits two people only or one person with their bagif all you care about is location and cleanliness this place will do the job but other than that we werent so impressed we stayed in another hotel in paris near the train station whistler and it was a better hotel not counting the location you cant beat the location on rue cler with lots of restaurantsshops just meters away and walkability to the eiffel tower theres a supermarket nearby and the metro stop is not far either as for the bad tiny room with not much in the way of furniture besides the bed hard to find a place to put things tiny claustrophobic elevator and narrow stairs no freebies they have drinkssnacks available in the kitchen but they are all overpriced one day they forgot to restock our room with anything we didnt havethe cler hotel was located on a popular street rue cler with many restaurants and shops the location is great just a 10 minute walk to the eiffel tower we stayed in room 605 and we could see the eiffel tower from our bed and bathroom so cool the room was clean and the bathroom had a rain shower the staff were all very friendly and helpful with answering any questions we had during our stay there is an option to pay for breakfast but we didnt because there are many cute restaurants on the street that serve breakfast would highly recommend this hotel great location friendly staff clean roomswe had a nonrefundable stay scheduled in midmay at the tail end of a 2 week trip i contacted the hotel to request the amount paid be applied as a credit when we reschedule the trip the hotel went a step further and refunded the amount for our stay this trip will be rescheduled and cler hotel will definitely be includedi stayed at the cler hotel for a week in the month of november 2019 for a business trip it isnt a business hotel but then i was ok to be not provided such a business hotel feeling since this hotel was acknowledged greatly for their hospitality which is more important to me as against i had my wife join me in the middle of the week so that i can use the later part of the trip for leisure visiting in and around paris i went for this hotel predominantly because of the eiffel tower view and another its proximity to some of the best places around around the hotel i was overwhelmed when i laid my at the street for the first time rue cler where this hotel is based it is a bright and colorful street to make your day filled with flowers fruits and eateries one canmy daughter i recently stayed here for 3 nights in march 2020 we were absolutely satisfied with this hotel first of all this is a great location if this is the area you want to be in near the eiffel tower it is a lovely boutique hotel with the small elevator winding steps up to the reception area we had a room with a view of the eiffel tower which was amazing i could lay in bed and watch the eiffel tower sparkle at night sure the room is not that big but those who complain must not travel in europe often because rooms are not that big the shower was simply wonderful because of the overhead rain showerhead plus we even had a view of the eiffel tower from our bathroom so we loved our room on the 6th floor secondly the service at the front desk was fabulousperfect hotel with a really nice location near the tower staff is very friendly mearsures about covid19 was perfect everything is really clean a lot of restaurants in de street near the bus and metro with 1 stopover from gare du nord untill the hotel it was like maybe 20 minutes everything was perfect and i really like to come backgreat stay luxurious room excellent location and staff just a short walk from the eiffel tower with views from the room this is an excellent location for a special occasion or just to visit paris will be coming backwe stayed at the cler hotel for 3 nights during a long weekend trip to paris the hotel is right on charming rue cler which has plenty of bakeries and restaurants and is less than a 10 minute walk to the eiffel tower rooms are on the smaller side typical for paris but are clean and modern the hotel staff is very friendly warm and helpful with tips for traveling around paris highly recommendedlovely boutique hotel set in cobbled streets full of cafes cheese shops restaurants chocolate shops and bakerys only a few streets from the effie tower the hotel is super clean and the staff couldnt be any friendlier and helpfuldue to the covid situation they do not make the room or change the towels during your stay this i did not like this information does not appear on the website when booking new hotel with small rooms located on a very lively street all day and night because there is a fruit market noise is heard at dawn when the market is set up the tiny elevator can only accommodate one person close to the metro exit and the eiffel towerone of the best places to stay at when visiting paris this was my third time in paris and without a doubt the best experience hotel wise the staff is nice and helpful the rooms are cosy and overall give you a feeling of being welcome in the city'" ] }, "execution_count": 13, "metadata": {}, "output_type": "execute_result" } ], "source": [ "txt" ] }, { "cell_type": "code", "execution_count": null, "id": "07b0938e", "metadata": {}, "outputs": [], "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3.9.5 64-bit ('tensorflow': conda)", "language": "python", "name": "python395jvsc74a57bd04bd624a0593993fe43ac4046b27b898fb2ef75c21c08f81e89e64ea0f51df676" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.5" } }, "nbformat": 4, "nbformat_minor": 5 }