スポンサーリンク
Googleが提供するPCで動くLLM、Gemmaを試してみた。応答が速く、高性能なように見えている。トレーニングできれば、パーソナルAIにできるのではないかな。
今回は生成されたテキストの続きとまとめ。
テキスト生成AIについてのまとめはこちら。
前回に続いて、質問に対する回答を見ていく。
東京について聞き方を変えて聞いてみた。
Here are some of the things you can do in Tokyo:
* **Explore the city’s many temples and shrines:** Tokyo is home to a number of beautiful temples and shrines,
including the Senso-ji Temple and the Meiji Shrine.
* **Visit the top of the Empire State Building:** The Empire State Building offers stunning views of the city from
its observation deck.
* **Go shopping:** Tokyo is a shopper’s paradise, with its many department stores and boutiques.
* **Experience the city’s nightlife:** Tokyo has a thriving nightlife scene, with its many karaoke bars,
nightclubs, and restaurants.
* **Learn about Japanese culture:** Tokyo is a great place to learn about Japanese culture, with its many museums
and cultural centers.
Would you like me to tell you more about Tokyo?
期待以上にいろいろ返事が返ってきた。人口とか地理的な位置の情報はなく、実際に知りたいような観光名所や遊び方が書かれている。
さらに聞いてみよう。
**For history and culture:**
* **Senso-ji Temple:** This temple is the oldest temple in Tokyo and is a must-see for any visitor.
* **Meiji Shrine:** This shrine is dedicated to Emperor Meiji and Empress Shoken and is a popular place for locals
to pray for good luck.
* **Ghibli Museum:** This museum showcases the art and history of Studio Ghibli, the world-famous animation
studio.
* **Edo-Tokyo Museum:** This museum explores the history of Tokyo from the Edo period to the present day.
**For shopping and entertainment:**
* **Shinjuku Gyoen National Garden:** This beautiful garden is a must-see for anyone interested in horticulture.
* **Roppongi Hills:** This complex includes a shopping mall, an observation deck, and a variety of restaurants.
* **Shibuya Crossing:** This intersection is known for its vibrant atmosphere and is a popular spot for
people-watching.
* **Tsukiji Fish Market:** This market is one of the largest in the world and is a fascinating place to see the
freshest seafood.
**For a more off-the-beaten-path experience:**
* **Kichi-Kichi:** This charming town is located just outside of Tokyo and is known for its vintage shops and
unique atmosphere.
* **Hakone:** This town is located in the mountains just outside of Tokyo and is a popular destination for hiking,
hot springs, and scenic views.
* **Kōban:** This neighborhood is known for its traditional Japanese architecture and atmosphere.
**Additional tips:**
* **Get a pass:** Consider getting a pass for public transportation to save money and time.
* **Learn some basic Japanese phrases:** This will make it easier to communicate with locals.
* **Respect Japanese culture:** Be mindful of your behavior and dress appropriately.
* **Be prepared for crowds:** Tokyo is a busy city, so expect to see a lot of people everywhere you go.
I hope this information is helpful. Please let me know if you have any further questions.
驚き!案内本の見出しくらいの分量が表示された。浅草寺、明治神宮、新宿御苑といった場所から、ジブリ博物館、渋谷のスクランブル交差点、築地の魚市場と外人に関心がありそうな場所まで。ただKichi-kichiとKobanは何を言っているのかちょっとわからなかった。Kichikichiって吉祥寺かな?
最後に4つ、日本を旅行する場合の注意点まで書かれている。
リアルタイム情報にアクセスできないので、明日の天気はわからないそうだ。逆に接続できれば、Geminiのようにネット上のサービスみたいにアクセスする手段があればできるということだな。
1. **Purchase a ticket:** You can purchase a ticket at any JR station in Tokyo.
2. **Take the train:** To get to Osaka, you need to take the JR Tokaido Line or the JR Kansai Line.
3. **Transfer:** At Shin-Osaka station, you will need to transfer to the JR Loop Line or the Hankyu Line to reach
your final destination in Osaka.
The total journey time will vary depending on your final destination in Osaka, but it will generally take around 2.5 hours.
Here are some additional tips for traveling between Tokyo and Osaka by train:
* Purchase a Japan Rail Pass if you are planning on traveling to other cities in Japan.
* If you are not comfortable speaking Japanese, I recommend purchasing a seat on the bullet train.
* Be sure to book your tickets in advance, especially if you are traveling during peak hours or on weekends.
I hope this information is helpful. Please let me know if you have any further questions.
東京から大阪までの行き方を聞いたが、新幹線を勧められている。
生成Aiではプログラムの自動作成も有名だ。どういうことができるか聞いてみた。
Pythonで電卓を作ってくれと聞いてみた。
**Usage:**1. Run the program.
2. Enter the first number.
3. Enter the second number.
4. Enter the operator (+, -, *, /).
5. The result will be displayed.
**Example Usage:**
“`
Enter the first number: 10
Enter the second number: 5
Enter the operator (+, -, *, /): +
The result is: 15.0
“`
**Note:**
* The program supports addition, subtraction, multiplication, and division operations.
* It handles invalid operators and division by zero exceptions.
* The program uses the `float` data type to ensure that fractional numbers are handled correctly.
```python
# Define the calculator function
def calculator():
# Get the first number from the user
num1 = float(input("Enter the first number: "))
# Get the second number from the user
num2 = float(input("Enter the second number: "))
# Get the operator from the user
operator = input("Enter the operator (+, -, *, /): ")
# Perform the calculation based on the operator
if operator == "+":
result = num1 + num2
elif operator == "-":
result = num1 - num2
elif operator == "*":
result = num1 * num2
elif operator == "/":
result = num1 / num2
else:
print("Invalid operator")
# Print the result
print("The result is:", result)
# Call the calculator function
calculator()
```
具体的なパーツレベルであればこんな風な指示でできるのか。
でも大規模なプログラムの一部をこの仕様に基づいて作れっというところは、まだイメージできない。世間の生成AIではできるそうだが、なんかオフショア開発のようできっちり仕様書を書かないと期待したものができないように思える。
いろいろ質問してみたのは、思ったよりも高速な動きで返答の分量が多かったからだ。
トレーニング方法がわからなければ自分用にカスタマイズしたAIにはできない。方法が公開されても簡単なものでなければ一般的には使いにくい。
Chat with RTXはその点、指定のフォルダに資料を置くだけでよかった。
前回と同じ動画を貼っておく。
性能、精度ともに今まで見てきたテキスト生成AIでは一番ではないかな。裏にクラウドのリソースがあって高性能に物を言わせ力技なのかと思ったが、リソースのグラフを見る限りそうでもなさそうだ。(もしそうなら2b/7bという2種類のデータセットを用意する意味がない)
まずは日本語対応に期待。
PR